* configure.in: Make sure that the wborder function is available.
[platform/upstream/binutils.git] / gdb / ChangeLog
1 2004-02-25  J. Brobecker  <brobecker@gnat.com>
2
3         * configure.in: Make sure that the wborder function is available.
4         Otherwise, search for it in the cur_colr library.
5         * configure: Regenerate.
6
7 2004-02-25  Andrew Cagney  <cagney@redhat.com>
8
9         * hppa-tdep.c (hppa32_push_dummy_call): Rewrite.
10
11 2004-02-25  Mark Kettenis  <kettenis@gnu.org>
12
13         * config/i386/tm-x86-64linux.h: Tweak comments.
14
15 2004-02-25  Richard Sandiford  <rsandifo@redhat.com>
16
17         * MAINTAINERS: Add self to write-after-approval list.
18
19 2004-02-25  Andrew Cagney  <cagney@redhat.com>
20
21         PR cli/1566.  Problem found, and fix suggested by David Allan. 
22         * cli/cli-script.c (execute_control_command): Unconditionally
23         install a cleanup.  Default "ret" to "invalid_control".  Use
24         "break" instead of "return" to escape from the switch.
25
26 2004-02-24  J. Brobecker  <brobecker@gnat.com>
27
28         * tui/tui-disasm.c: %s/lines/asm_lines/g to avoid a collision
29         with the lines macro defined in term.h on AiX.
30         * tui/tui-regs.c: %s/label_width/tui_label_width/g, to avoid
31         a collision with the label_width macro defined in term.h on AiX.
32
33 2004-02-23  David Mosberger  <davidm@hpl.hp.com>
34
35         Committed by Kevin Buettner <kevinb@redhat.com>.
36
37         * ia64-tdep.h (ia64_write_pc, ia64_linux_write_pc): Declare.
38         * ia64-tdep.c (ia64_write_pc): Make it a global function.
39         (ia64_gdbarch_init): For Linux targets, use ia64_linux_write_pc()
40         instead of ia64_write_pc().
41         * ia64-linux-tdep.c (regcache.h): Include.
42         (ia64_linux_write_pc): New function.
43  
44 2004-02-23  Roland McGrath  <roland@redhat.com>
45
46         * auxv.c (info_auxv_command): Fix typos in error messages.
47
48 2004-02-23  Mark Kettenis  <kettenis@gnu.org>
49
50         * x86-64-tdep.h: Tweak comment.
51         (enum amd64_regnum): New.
52         (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM)
53         (X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM)
54         (X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM)
55         (X86_64_XMM1_REGNUM): Removed.
56         (AMD64_NUM_GREGS): Renamed from X86_64_NUM_GREGS.
57         (amd64_init_abi, amd64_supply_fxsave, amd64_fill_fxsave): Adjust
58         prototypes for renamed functions.
59         * x86-64-tdep.c: Fix typo.
60         (amd64_dwarf_regmap): Use constants from `enum amd64_regnum' for
61         register numbers.
62         (amd64_return_value, amd64_push_arguments, amd64_push_dummy_call):
63         Use constants from `enum amd64_regnum' for register numbers.
64         (AMD64_NUM_SAVED_REGS): Adjust for renamed macros.
65         (amd64_analyze_prologue, amd64_frame_cache,
66         amd64_sigtramp_frame_cache): Use constants from `enum
67         amd64_regnum' for register numbers.
68         (amd64_supply_fpregset): Adjust for renamed functions.
69         (amd64_init_abi): Rename from x86_64_init_abi.  Use constants from
70         `enum amd64_regnum' for register numbers.
71         (I387_ST0_REGNUM): Use constant from `enum amd64_regnum'.
72         (amd64_supply_fxsave): Rename from x86_64_supply_fxsave.
73         (amd64_fill_fxsave): Rename fro x86_64_fill_fxsave.
74         * x86-64-linux-tdep.c (amd64_linux_supply_gregset)
75         (amd64_linux_fill_gregset): Adjust for renamed macros.
76         (fetch_core_registers): Adjust for renamed functions.
77         (amd64_linux_init_abi): Adjust for renamed functions.
78         * x86-64-linux-nat.c (supply_gregset, fill_gregset): Adjust for
79         renamed functions.
80         * amd64-nat.c: Adjust for renamed macros.
81         * amd64bsd-nat.c (fetch_inferior_registers)
82         (store_inferior_registers): Use constants from `enum amd64_regnum'
83         for register numbers.  Adjust for renamed variables.
84         * amd64fbsd-nat.c (supply_gregset, fill_gregset): Adjust for
85         renamed variables.
86         (_initialize_amd64fbsd_nat): Use constants from `enum
87         amd64_regnum' for register numbers.
88         * amd64fbsd-tdep.c (amd64fbsd_sigcontext_addr): Use constants from
89         `enum amd64_regnum' for register numbers.
90         (amd64fbsd_init_abi): Adjust for renamed functions.
91         * amd64nbsd-tdep.c (amd64nbsd_sigcontext_addr): Use constants from
92         `enum amd64_regnum' for register numbers.
93         (amd64nbsd_init_abi): Adjust for renamed functions.
94         (_initialize_amd64nbsd_ndep): Adjust for renamed macros.
95         * amd64obsd-tdep.c (amd64obsd_sigcontext_addr): Use constants from
96         `enum amd64_regnum' for register numbers.
97         (amd64obsd_init_abi): Adjust for renamed functions.
98         (_initialize_amd64obsd_ndep): Adjust for renamed macros.
99
100 2004-02-23  Jeff Johnston  <jjohnstn@redhat.com>
101
102         * breakpoint.c (print_one_breakpoint): Do not output spaces
103         after printing <PENDING> for a pending breakpoint.
104
105 2004-02-23  Jeff Johnston  <jjohnstn@redhat.com>
106
107         * printcmd.c (print_scalar_formatted): Initialize val_long
108         to remove compiler warning message.
109
110 2004-02-23  Jeff Johnston  <jjohnstn@redhat.com>
111
112         * defs.h (nquery, yquery): New prototypes.
113         * breakpoint.c (break_command_1): Use new nquery interface.
114         * utils.c (defaulted_query, nquery, yquery): New functions.
115
116 2004-02-23  Andrew Cagney  <cagney@redhat.com>
117
118         * hppa-tdep.c (hppa_frame_align): New function.
119         (hppa32_push_dummy_call): New function.
120         (hppa64_push_dummy_call): New function.
121         (hppa_gdbarch_init): Set frame_align and push_dummy_call; keep
122         disabled.
123
124         * infcall.c (legacy_push_dummy_code): Don't call deprecated
125         FIX_CALL_DUMMY when push_dummy_call is available.
126         (call_function_by_hand, push_dummy_code): Ditto.
127
128 2004-02-22  Andrew Cagney  <cagney@redhat.com>
129
130         * config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Delete macro.
131         (DEPRECATED_PC_IN_CALL_DUMMY): Delete macro.
132         (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete macro.
133         * hppa-tdep.c (hppa_gdbarch_init): Clear deprecated
134         use_generic_dummy_frames, set deprecated pc_in_call_dummy, set
135         call_dummy_location to ON_STACK.
136
137 2004-02-22  Mark Kettenis  <kettenis@gnu.org>
138
139         * x86-64-linux-tdep.c: Tweak comment.
140         (amd64_linux_supply_gregset): Renamed from
141         x86_64_linux_supply_gresget.
142         (amd64_linux_fill_gregset): Renamed from
143         x86_64_linux_fill_gregset.
144         (fetch_core_registers): Adjust for renamed functions.
145         (amd64_core_fns): Renamed from x86_64_core_fns.
146         (amd64_linux_sigtramp_start): Renamed from
147         x86_64_linux_sigtramp_start.
148         (amd64_linux_pc_in_sigtramp): Renamed from
149         x86_64_linux_pc_in_sigtramp.  Adjust for renamed functions.
150         (AMD64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Renamed from
151         X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET.
152         (amd64_linux_sigcontext_addr): Renamed from
153         x86_64_linux_sigcontext_addr.
154         (amd64_linux_sc_reg_offset): Renamed from
155         x86_64_linux_sc_reg_offset.
156         (amd64_linux_init_abi): Renamed from x86_64_linux_init_abi.
157         Adjust for renamed functions and variables.
158         (_initialize_amd64_linux_tdep): Renamed from
159         _initialize_x86_64_linux_tdep.  Adjust for renamed functions and
160         variables.
161         * x86-64-linux-tdep.h: Update copyright year.  Tweak comment.
162         Adjust for renamed functions.
163
164         * x86-64-linux-nat.c (amd64_linux_gregset64_reg_offset): Rename
165         from x86_64_linux_gregset64_reg_offset.
166         (amd64_linux_gregset32_reg_offset): Rename from
167         x86_64_linux_gregset64_reg_offset.
168         (amd64_linux_dr_get): Renamed from x86_64_linux_dr_get.
169         (amd64_linux_dr_set): Renamed from x86_64_linux_dr_set.
170         (amd64_linux_dr_set_control): Renamed from
171         x86_64_linux_dr_set_control.  Adjust for renamed functions.
172         (amd64_linux_dr_set_addr): Renamed from x86_64_linux_dr_set_addr.
173         Adjust for renamed functions.
174         (amd64_linux_dr_reset_addr): Renamed from
175         x86_64_linux_dr_reset_addr. Adjust for renamed functions.
176         (amd64_linux_dr_get_status): Renamed from
177         x86_64_linux_dr_get_status.  Adjust for renamed functions.
178         (_initialize_amd64_linux_nat): Renamed from
179         _initialize_x86_64_linux_nat.  Adjust for renamed variables and
180         functions.
181         * config/i386/nm-x86-64linux.h: Update copyright year.
182         Adjust for renamed functions.
183
184         * amd64fbsd-tdep.c (amd64fbsd_sigtramp_start_addr): Renamed from
185         amd64fbsd_sigtramp_start.
186         (amd64fbsd_sigtramp_end_addr): Renamed from
187         amd64fbsd_sigtramp_end.
188         (amd64fbsd_init_abi): Adjust for renamed variables.
189         * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Adjust for renamed
190         variables.
191         * x86-64-tdep.h (amd64fbsd_sigtramp_start_addr): Renamed from
192         amd64fbsd_sigtramp_start.
193         (amd64fbsd_sigtramp_end_addr): Renamed from
194         amd64fbsd_sigtramp_end.
195
196 2004-02-22  Andrew Cagney  <cagney@redhat.com>
197
198         * hppa-tdep.c (hppa32_return_value): New function.
199         (hppa64_return_value): New function.
200         (hppa_gdbarch_init): Set return_value; keep disabled.
201
202         * hppa-tdep.c (hppa_gdbarch_init): Re-order separating
203         struct-return and inferior function call methods.
204
205         * hppa-tdep.c: Include "trad-frame.h", "frame-unwind.h", and
206         "frame-base.h".
207         (struct hppa_frame_cache): Define.
208         (hppa_frame_cache, hppa_frame_this_id): New functions.
209         (hppa_frame_prev_register): New function.
210         (hppa_frame_unwind, hppa_frame_base): New variables.
211         (hppa_frame_unwind_sniffer): New function.
212         (hppa_frame_base_address, hppa_unwind_pc): New function.
213         (hppa_gdbarch_init): Set unwind_dummy_id, unwind_pc, frame unwind
214         sniffer, and frame base sniffer; keep disabled.
215         (hppa_frame_base_sniffer, hppa_unwind_dummy_id): New functions.
216         * Makefile.in: Update dependencies, fix s/nbsd/obsd/ typo.
217
218         * frame-unwind.c (frame_unwind_find_by_frame): Add legacy_frame_p
219         to predicates for "seriously old code".
220
221         * hppa-tdep.c (hppa_gdbarch_init): Convert compile time #if0s into
222         runtime if(0).
223
224         * hppa-tdep.c (hppa_breakpoint_from_pc): Make "breakpoint"
225         unsigned.
226         (hppa_frame_find_saved_regs): Fix "std" instruction pattern
227
228         * config/pa/tm-hppa.h: Update copyright.
229         (DEPRECATED_INIT_FRAME_PC): Delete macro.
230         (deprecated_init_frame_pc_default): Delete declaration.
231         (hppa_frame_init_saved_regs): Delete declaration.
232         (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
233         * hppa-tdep.c: Include "arch-utils.h".
234         (hppa_gdbarch_init): Set deprecated init_frame_pc
235         and deprecated frame_init_saved_regs.
236         (hppa_frame_init_saved_regs): Make static.
237
238 2004-02-22  Mark Kettenis  <kettenis@gnu.org>
239
240         Remove old 386BSD support.
241         * NEWS (REMOVED configurations and files): Add i[3456]86-*-bsd*.
242         * configure.host: Remove i[34567]86-*-bsd*.
243         * configure.tgt: Remove i[34567]86-*-bsd*.
244         * i386b-nat.c: Removed.
245         * Makefile.in (ALLDEPFILES): Remove i386b-nat.c.
246         (i386b-nat.o): Remove dependencies.
247
248         * config/i386/i386bsd.mh: Removed.
249         * config/i386/i386bsd.mt: Removed.
250         * config/i386/nm-i386bsd.h: Removed.
251         * config/i386/tm-i386bsd.h: Removed.
252         * config/i386/xm-i386bsd.h: Removed.
253
254         * x86-64-tdep.h (amd64obsd_r_reg_offset): New extern declaration.
255
256         * amd64fbsd-tdep.c: Include "solib-svr4.h".
257         (amd64fbsd_init_abi): Set link map offsets.
258         * amd64nbsd-tdep.c: Include "slib-svr4.h".
259         (amd64nbsd_init_abi): Set link map offsets.
260         * amd64obsd-tdep.c: Include "solib-svr4.h".
261         (amd64obsd_init_abi): Set link map offsets.
262         * i386fbsd-tdep.c: Include "solib-svr4.h".
263         (i386fbsd_init_abi): Set link map offsets.
264         * i386nbsd-tdep.c: Include "solib-svr4.h".
265         (i386nbsdelf_init_abi): Set link map offsets.
266         * Makefile.in (amd64fbsd-tdep.o, amd64nbsd-tdep.o)
267         (amd64obsd-tdep.o, i386fbsd-tdep.o): Update dependencies.
268         * config/i386/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o,
269         solib-legacy.o and core-aout.o. Reformat.
270         * config/i386/fbsd64.mh (NATDEPFILES): Remove solib.o,
271         solib-svr4.o, solib-legacy.o.  Reformat.
272         * config/i386/nbsdaout.mh (NATDEPFILES): Add solib.o.  Reformat.
273         * config/i386/nbsdelf.mh: Reformat.
274         * config/i386/nbsd64.mh (NATDEPFILES): Remove solib.o,
275         solib-svr4.o, solib-legacy.o and corelow.o.
276         * config/i386/obsd.mh, config/i386/obsdaout.mh: Reformat.
277         * config/i386/obsd64.mh (NATDEPFILES): Remove solib.o,
278         solib-svr4.o, solib-legacy.o and corelow.o.  Reformat.
279         * config/i386/fbsd.mt (TDEPFILES): Add solib.o, solib-svr4.o.
280         * config/i386/fbsd64.mt (TDEPFILES): Add solib.o, solib-svr4.o.
281         (TM_FILE): Set to tm-fbsd.h.
282         * config/i386/nbsd.mt (TDEPFILES): Reformat.
283         * config/i386/nbsd64.mt (TDEPFILES): Add corelow.o, solib.o and
284         solib-svr4.o.
285         * config/i386/obsd.mt (TDEPFILES): Add corelow.o, solib.o and
286         solib-svr4.o.
287         (TM_FILE): Set to nm-nbsd.h.
288         * config/i386/nm-fbsd.h: Update copyright year.  Tweak comments.
289         Simplify shared library support.  Don't include "elf/common.h".
290         (SVR4_SHARED_LIBS): Don't define.
291         * config/i386/nm-fbsd64.h: Update copyright year.  Don't include
292         "solib.h".
293         * config/i386/nm-nbsd.h, config/i386/nm-nbsdaout.h,
294         config/i386/nm-obsd.h: Update copyright year.  Tweak comments.
295         * config/i386/tm-fbsd.h: Update copyright tear.  Tweak comments.
296         Don't include "i386/tm-i386.h".  Include "solib.h".
297         * config/i386/tm-nbsd.h: Update copyright year.  Tweak comments.
298         Don't include "i386/tm-i386.h".
299         * config/i386/xm-i386.h: Update copyright year.  Tweak comments.
300         * config/i386/xm-nbsd.h: Update copyright year.  Tweak comments.
301         Include "i386/xm-i386.h".
302         (HOST_LONG_DOUBLE_FORMAT): Remove.
303
304         Fix OpenBSD/i386 sigtramp recognition.
305         * i386-tdep.h: Update copyright year.
306         (i386bsd_pc_in_sigtramp, i386bsd_sigtramp_start)
307         (i386bsd_sigtramp_end): New prototypes.
308         (i386fbsd_sigtramp_start_addr): Renamed from
309         i386fbsd_sigtramp_start.
310         (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end.
311         (i386obsd_sigtramp_start_addr): Renamed from
312         i386obsd_sigtramp_start.
313         (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end.
314         * i386bsd-tdep.c: Update copyright year.
315         (i386bsd_pc_in_sigtramp): Make public.
316         * i386fbsd-nat.c: Update copyright year.
317         (_initialize_i386fbsd_nat): Adjust for renamed variables.
318         * i386fbsd-tdep.c: Update copyright year.
319         (i386fbsd_sigtramp_start_addr): Renamed from
320         i386fbsd_sigtramp_start.
321         (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end.
322         (i386fbsdaout_init_abi): Adjust for renamed variables.
323         * i386obsd-nat.c: Update copyright year.
324         (_initialize_i386obsd_nat): Adjust for renamed variables.
325         * i386obsd-tdep.c: Include "target.h".
326         (i386obsd_page_size): New variable.
327         (i386obsd_pc_in_sigtramp, i386obsd_sigtramp_start)
328         (i386obsd_sigtramp_end): New functions.
329         (i386obsd_sigtramp_start_addr): Renamed from
330         i386obsd_sigtramp_start.
331         (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end.
332         (i386obsd_init_abi): Adjust for renamed variables.  Set
333         pc_in_sigtramp, sigtramp_start and sigtramp_end.
334         * Makefile.in (i386obsd-tdep.o): Update dependencies.
335
336         * amd64obsd-tdep.c (amd64obsd_pc_in_sigtramp): Adjust for signal
337         trampoline change in OpenBSD kernel.
338
339         * amd64-nat.c: Update copyright year.
340         (amd64_supply_native_gregset, amd64_collect_native_gregset): Use
341         architecture from REGCACHE.
342
343         * x86-64-linux-nat.c (x86_64_linux_gregset32_reg_offset): Use
344         symbolic constants from <sys/reg.h> instead of hard-coded numbers.
345
346 2004-02-21  Mark Kettenis  <kettenis@gnu.org>
347
348         * configure.host: Add i[34567]86-*-openbsd[0-2].* and
349         i[34567]86-*-openbsd3.[0-3].
350         * config/i386/obsdaout.mh: New file.
351
352         * config/i386/obsd.mh (MH_FLAGS): Remove.
353
354         Fix PR build/1549.
355         * i386obsd-tdep.c: Update copyright years.  Include
356         "solib-svr4.h".
357         (i386obsd_init_abi): Don't set regset_from_core_section here.
358         (i386obsd_aout_init_abi): New function.  Set
359         regset_from_core_section here.
360         (i386obsd_elf_init_abi): New function.
361         (_initialize_i386obsd_tdep): Register OS/ABI for OpenBSD ELF.
362         * Makefile.in (i386obsd-tdep.o): Update dependecies.
363         * config/i386/obsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
364         (TM_FILE): Set to tm-nbsd.h.
365
366         * config/i386/obsd.mh (NATDEPFILES): Remove solib.o and
367         solib-sunos.o.
368
369         * solib-svr4.h: Update copyright year.
370         (svr4_ilp32_fetch_link_map_offsets)
371         (svr4_lp64_fetch_link_map_offsets): New prototype.
372         * solib-svr4.c: Update copyright year.
373         (svr4_ilp32_fetch_link_map_offsets)
374         (svr4_lp64_fetch_link_map_offsets): New function.
375
376 2004-02-20  Daniel Jacobowitz  <drow@mvista.com>
377
378         * dwarf2read.c (add_partial_symbol): Fix typo in adding enumerators
379         to the partial symbol table.
380
381 2004-02-20  J. brobecker  <brobecker@gnat.com>
382
383         * PROBLEMS: Add description of problem documented under gdb/1560.
384
385 2004-02-20  Mark Kettenis  <kettenis@gnu.org>
386
387         * amd64obsd-tdep.c: Include "regset.h" and "i387-tdep.h".  Fix
388         comments.
389         (amd64obsd_supply_regset, amd64obsd_regset_from_core_section): New
390         functions.
391         (amd64obsd_init_abi): Reorder initializations.  Use
392         amd64obsd_r_reg_offset to initialize the general-purpose register
393         set details.  Set regset_from_core_section.
394         (_initialize_amd64obsd_tdep): Rename from
395         _initialize_amd64obsd_ndep.  Add OS ABI handler for core dumps.
396         * Makefile.in (amd64obsd-tdep.o): Update dependencies.
397         * config/i386/obsd64.mt (TDEPFILES): Add i386-tdep.o.
398
399         * NEWS (New native configurations): Mention OpenBSD/alpha.
400         * configure.tgt: Add alpha*-*-openbsd*.
401         * configure.host: Add alpha*-*-openbsd*.
402         * alphanbsd-tdep.c: Update copyright year.
403         (_initialize_alphanbsd_tdep): Register OS ABI for OpenBSD ELF.
404
405 2004-02-20  Andrew Cagney  <cagney@redhat.com>
406
407         Fix PR tdep/1372.
408         * configure.tgt: Delete target "none-*-*".
409         * configure.host: Delete host "none-*-*".
410         * config/none/none.mh: Delete file.
411         * config/none/none.mt: Delete file.
412         * config/none/xm-none.h: Delete file.
413         * config/none/tm-none.h: Delete file.
414         * config/none/nm-none.h: Delete file.
415
416 2004-02-19  Fred Fish  <fnf@redhat.com>
417
418         * sh-tdep.c (sh_analyze_prologue): Eliminate useless test of
419         cache->uses_fp prior to setting it.
420
421 2004-02-19  Fred Fish  <fnf@redhat.com>
422
423         Fix for PR breakpoint/1558.
424         * sh-tdep.c (IS_JSR): New macro.
425         (sh_analyze_prologue): Use IS_JSR to terminate prologue scan.
426
427 2004-02-19  Jim Blandy  <jimb@redhat.com>
428
429         * findvar.c (value_from_register): Doc fix.
430
431 2004-02-19  Jeff Johnston  <jjohnstn@redhat.com>
432
433         * printcmd.c (print_scalar_formatted): Do not check for sizeof
434         type being greater than sizeof of host's LONGEST.  Always use
435         unpack_long() unless format 'f' chosen.
436
437 2004-02-19  Joel Brobecker  <brobecker@gnat.com>
438
439         Committed by Elena Zannoni  <ezannoni@redhat.com>
440
441         * symtab.c (find_pc_sect_psymtab): Return the psymtab that
442         contains a symbol wich is the best, non-exact match for the given
443         pc.  Update comments.
444
445 2004-02-19  Elena Zannoni  <ezannoni@redhat.com>
446
447         * event-top.c (async_request_quit): Remove uses of REQUEST_QUIT
448         macro, which was part of the now removed Mach 3 port.
449         * utils.c (request_quit): Ditto.
450
451 2004-02-18  Mark Kettenis  <kettenis@gnu.org>
452
453         * config/djgpp/fnchange.lst: Rename "amd64obsd-tdep.c" and
454         "amd64obsd-nat.c" to "a64ob-tdep.c" and "a64ob-nat.c".
455
456 2004-02-18  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
457
458         Committed by Mark Kettenis  <kettenis@gnu.org>.
459
460         * config/s390/nm-linux.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT):
461         Define.
462
463 2004-02-18  Andrew Cagney  <cagney@redhat.com>
464
465         * configure.in: Add a TUI target to CONFIG_ALL, CONFIG_CLEAN,
466         CONFIG_INSTALL and CONFIG_UNINSTALL.
467         * configure: Re-generate.
468         * interps.h (INTERP_TUI): Define.
469         * Makefile.in: Update dependencies.
470         (TUI): New macro.
471         (tui-main.o): Specify dependencies.
472         (install-tui, uninstall-tui, clean-tui, all-tui): New rules.
473         * tui/tui-main.c: New file.
474
475 2004-02-18  Mark Kettenis  <kettenis@gnu.org>
476
477         * amd64obsd-tdep.c, amd64obsd-nat.c: New files.
478         * Makefile.in (amd64obsd-nat.o, amd64obsd-tdep.o): New
479         dependencies.
480         * configure.host: Add x86_64-*-openbsd*.
481         * configure.tgt: Add x86_64-*-openbsd*.
482         * config/i386/obsd64.mt, config/i386/obsd64.mh: New files.
483
484         * tui/tui.c: Don't include <malloc.h>.
485
486         * Makefile.in (ALLDEPFILES): Add amd64-nat.c, amd64bsd-nat.c,
487         amdfbsd-nat.c, amd64-fbsd-tdep.c, amd64nbsd-nat.c and
488         amd64nbsd-tdep.c.
489
490         * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Make
491         static.  Remove extraneous whitespace.
492         * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Make
493         static.
494
495 2004-02-17  Jim Blandy  <jimb@redhat.com>
496
497         * findvar.c (value_from_register): Doc fix.
498
499 2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
500
501         Committed by Jim Blandy  <jimb@redhat.com>.
502
503         * eval.c (evaluate_subexp_standard, case OP_OBJC_MSGCALL): Use
504         CORE_ADDR as type for selectors.  Correct types for GNU run time
505         message lookup function to use double indirection.
506         * objc-lang.c (lookup_child_selector): Use CORE_ADDR as return type.
507         * objc-lang.h (lookup_child_selector): Adapt prototype.
508
509         * s390-nat.c (SUBOFF): New macro.
510         (supply_gregset, fill_gregset): Use it to handle debugging
511         of 32-bit exectuables running under a 64-bit kernel.
512         * s390-tdep.c: Include "solib-svr4.h".
513         (s390_svr4_fetch_link_map_offset): New function.
514         (s390x_svr_fetch_link_map_offset): Likewise.
515         (s390_gdbarch_init): Call set_solib_svr4_fetch_link_map_offsets.
516         * Makefile.in (s390-tdep.o): Update dependencies.
517
518         * s390-tdep.c: Include "trad-frame.h", "frame-base.h", and
519         "frame-unwind.h".
520         (s390_readinstruction): Reformat.  Use read_memory_nobpt.
521         (GDB_TARGET_IS_ESAME, S390_GPR_SIZE, S390_FPR_SIZE): Remove.
522         (S390_SYSCALL_OPCODE, S390_SYSCALL_SIZE): Remove.
523         (S390_SIGCONTEXT_SREGS_OFFSET, S390X_SIGCONTEXT_SREGS_OFFSET,
524         S390_SIGREGS_FP0_OFFSET, S390X_SIGREGS_FP0_OFFSET,
525         S390_UC_MCONTEXT_OFFSET, S390X_UC_MCONTEXT_OFFSET,
526         S390_SIGNAL_FRAMESIZE,
527         s390_NR_sigreturn, s390_NR_rt_sigreturn): Remove.
528         (struct frame_extra_info): Remove.
529         (s390_memset_extra_info): Remove.
530         (op1_ag, op1_ay, op1_brasl, op1_brc, op1_brcl, op1_lay, op1_lg)
531         (op1_lmy, op1_ly, op1_sg, op1_stmy, op1_sty, op1_sy, op_a)
532         (op_agr, op_bas, op_bc, op_bcr, op_sgr, op_sr): New opcodes.
533         (is_rse): Renamed to ...
534         (is_rsy): ... this.  Support long displacements.
535         (is_rxe): Renamed to ...
536         (is_rxy): ... this.  Support long displacements.
537         (compute_x_addr): Support long displacements.
538         (struct s390_prologue_data): New data type.
539         (s390_on_stack): Change API to use struct s390_prologue_data.
540         (s390_store): Reimplement.
541         (s390_load): New function.
542         (s390_get_signal_frame_info): Remove.
543         (s390_get_frame_info): Remove, replace by ...
544         (s390_analyze_prolog): ... this new function.
545         (s390_check_function_end): Remove.
546         (s390_function_start): Remove.
547         (s390_frameless_function_invokation): Remove.
548         (s390_is_sigreturn): Remove.
549         (s390_init_frame_pc_first): Remove.
550         (s390_init_frame_extra_info): Remove.
551         (s390_frame_init_saved_regs): Remove.
552         (s390_frame_saved_pc_nofix): Remove.
553         (s390_frame_saved_pc): Remove.
554         (s390_frame_chain): Remove.
555         (s390_fp_regnum, s390_read_fp): Remove.
556         (s390_pop_frame_regular, s390_pop_frame): Remove.
557         (s390_saved_pc_after_call): Remove.
558         (s390_skip_prologue): Reimplement.
559         (s390_in_function_epilogue_p): Support long displacements.
560         (struct s390_unwind_cache): New data structure.
561         (s390_frame_unwind_cache): New function.
562         (s390_prologue_frame_unwind_cache): Likewise.
563         (s390_backchain_frame_unwind_cache): Likewise.
564         (s390_frame_this_id, s390_frame_prev_register): Likewise.
565         (s390_frame_unwind): Define.
566         (s390_frame_sniffer): New function.
567         (struct s390_pltstub_unwind_cache): New data structure.
568         (s390_pltstub_frame_unwind_cache): New function.
569         (s390_pltstub_frame_this_id): Likewise.
570         (s390_pltstub_frame_prev_register): Likewise.
571         (s390_pltstub_frame_unwind): Define.
572         (s390_pltstub_frame_sniffer): New function.
573         (struct s390_sigtramp_unwind_cache): New data structure.
574         (s390_sigtramp_frame_unwind_cache): New function.
575         (s390_sigtramp_frame_this_id): Likewise.
576         (s390_sigtramp_frame_prev_register): Likewise.
577         (s390_sigtramp_frame_unwind): Define.
578         (s390_sigtramp_frame_sniffer): New function.
579         (s390_frame_base_address, s390_local_base_address): New functions.
580         (s390_frame_base): Define.
581         (s390_unwind_pc, s390_unwind_sp): New function.
582         (s390_push_dummy_call): Use new frame base location.
583         (s390_unwind_dummy_id): Likewise.
584         (s390_gdbarch_init): Remove calls to:
585         set_gdbarch_frameless_function_invocation,
586         set_gdbarch_deprecated_init_frame_pc,
587         set_gdbarch_deprecated_frame_chain,
588         set_gdbarch_deprecated_frame_init_saved_regs,
589         set_gdbarch_deprecated_pop_frame,
590         set_gdbarch_deprecated_init_extra_frame_info,
591         set_gdbarch_deprecated_init_frame_pc_first,
592         set_gdbarch_deprecated_target_read_fp,
593         set_gdbarch_deprecated_frame_saved_pc,
594         set_gdbarch_deprecated_saved_pc_after_call,
595         set_gdbarch_deprecated_fp_regnum.
596         Add calls to:
597         set_gdbarch_in_solib_call_trampoline,
598         frame_unwind_append_sniffer,
599         frame_base_set_default,
600         set_gdbarch_unwind_pc,
601         set_gdbarch_unwind_sp.
602         * Makefile.in (s390-tdep.o): Update dependencies.
603
604         * s390-tdep.c (struct gdbarch_tdep): Add 'abi' member.
605         (S390_STACK_FRAME_OVERHEAD): Remove.
606         (S390_STACK_PARAMETER_ALIGNMENT): Remove.
607         (S390_NUM_FP_PARAMETER_REGISTERS): Remove.
608         (s390_promote_integer_argument): Remove.
609         (s390_cannot_extract_struct_value_address): Remove.
610         (s390_use_struct_convention, s390_store_struct_return): Remove.
611         (s390_extract_return_value, s390_store_return_value): Remove.
612         (s390_return_value_convention, s390_return_value): New functions.
613         (is_float_singleton): Handle typedefs.
614         (is_double_or_float, is_double_arg, is_simple_arg, pass_by_copy_ref):
615         Remove, replace by ...
616         (s390_function_arg_pass_by_reference, s390_function_arg_float,
617         s390_function_arg_integer): ... these new functions.
618         (s390_push_arguments, s390_push_return_address): Remove, replace by ...
619         (s390_push_dummy_call, s390_unwind_dummy_id): ... these new functions.
620         (s390_gdbarch_init): Remove s390_call_dummy_words and elf_flags.
621         Fill in tdep->abi.
622         Remove calls to:
623         set_gdbarch_deprecated_store_struct_return,
624         set_gdbarch_deprecated_extract_return_value,
625         set_gdbarch_deprecated_store_return_value,
626         set_gdbarch_use_struct_convention,
627         set_gdbarch_extract_struct_value_address,
628         set_gdbarch_deprecated_pc_in_call_dummy,
629         set_gdbarch_deprecated_push_arguments,
630         set_gdbarch_deprecated_save_dummy_frame_tos,
631         set_gdbarch_deprecated_push_return_address,
632         set_gdbarch_deprecated_sizeof_call_dummy_words,
633         set_gdbarch_deprecated_call_dummy_words,
634         set_gdbarch_deprecated_dummy_write_sp.
635         Add calls to:
636         set_gdbarch_push_dummy_call,
637         set_gdbarch_unwind_dummy_id,
638         set_gdbarch_return_value.
639
640         * config/s390/nm-linux.h: Update comments.
641         (target_insert_watchpoint, target_remove_watchpoint): Redefine.
642         (STOPPED_BY_WATCHPOINT): Redefine.
643         (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Redefine to 1.
644         (s390_insert_watchpoint, s390_remove_watchpoint): Update prototype.
645         (s390_stopped_by_watchpoint): Likewise.
646         (watch_area_cnt): Remove.
647         * s390-nat.c: Update comments.
648         (watch_area): Remove typedef.
649         Global replace watch_area by struct watch_area.
650         (watch_area_cnt, watch_lo_addr, watch_hi_addr): Remove.
651         (s390_stopped_by_watchpoint): Remove pid argument,
652         use s390_inferior_tid.  Add short-cut for the no watchpoint case.
653         (s390_fix_watch_points): Remove pid argument,
654         use s390_inferior_tid.  Recompute area spanned by watchpoints.
655         (s390_insert_watchpoint, s390_remove_watchpoint): Remove pid
656         argument.  Reimplement.
657
658         * config/s390/nm-linux.h: Update comments.  Do not include "solib.h".
659         (KERNEL_U_ADDR, REGISTER_U_ADDR, U_REGS_OFFSET): Remove.
660         (FETCH_INFERIOR_REGISTERS): Define.
661         * config/s390/s390.mh (NATDEPFILES): Remove core-aout.o and
662         core-regset.o.
663         * config/s390/s390x.mt: Remove.
664         * config/s390/tm-s390.h: Remove.
665         * config/s390/tm-linux.h: Do not include "s390/tm-s390.h".
666         (TARGET_ELF64): Remove.
667         (SKIP_TRAMPOLINE_CODE): Do not undefine.
668         * configure.tgt [s390-*-*, s390x-*-*]: Merge into single
669         s390*-*-* case; always set gdb_target to s390.
670         * regformats/reg-s390.dat: Remove control registers.
671         * regformats/reg-s390x.dat: Likewise.
672         * s390-tdep.h: New file.
673         * s390-nat.c: Do not include <asm/processor.h> or <value.h>.
674         Include "inferior.h" and "s390-tdep.h".
675         Remove private definition of offsetof.
676         (s390_register_u_addr): Remove.
677         (regmap_gregset, regmap_fpregset): Define.
678         (supply_gregset, fill_gregset): Reimplement.
679         (supply_fpregset, fill_fpregset): Likewise.
680         (s390_inferior_tid): New function.
681         (fetch_regs, store_regs, fetch_fpregs, store_fpregs): Likewise.
682         (fetch_inferior_registers, store_inferior_registers): Likewise.
683         * s390-tdep.c: Do not define S390_TDEP.  Include "defs.h" instead
684         of <defs.h>.  Include "reggroups.h", "regset.h", and "s390-tdep.h".
685         Global replace of S390_GP0_REGNUM by S390_R0_REGNUM.
686         Global replace of S390_FP0_REGNUM by S390_F0_REGNUM.
687         (struct gdbarch_tdep): Define.
688         (struct s390_register_info): Define.
689         (s390_register_info): New variable.
690         (s390_register_name): Reimplement.
691         (s390_register_type): New function.
692         (s390_register_raw_size, s390x_register_raw_size): Remove.
693         (s390_cannot_fetch_register): Remove.
694         (s390_register_byte): Remove.
695         (s390_register_virtual_type, s390x_register_virtual_type): Remove.
696         (s390_dwarf_regmap): New variable.
697         (s390_dwarf_reg_to_regnum): New function.
698         (s390_stab_reg_to_regnum): Remove.
699         (s390_pseudo_register_read, s390_pseudo_register_write): New functions.
700         (s390x_pseudo_register_read, s390x_pseudo_register_write): Likewise.
701         (s390_convert_register_p): Likewise.
702         (s390_register_to_value, s390_value_to_register): Likewise.
703         (s390_register_reggroup_p): Likewise.
704         (s390_regmap_gregset, s390x_regmap_gregset, s390_regmap_fpregset,
705         s390_gregset, s390x_gregset, s390_fpregset): New variables.
706         (s390_supply_regset, s390_regset_from_core_section): New functions.
707         (GDB_TARGET_IS_ESAME): Move here from tm-s390.h.
708         (S390_FPR_SIZE): Likewise.
709         (S390_GPR_SIZE): Likewise.  Redefine in terms of GDB_TARGET_IS_ESAME.
710         Global replace of DEPRECATED_REGISTER_SIZE by S390_GPR_SIZE.
711         (S390_NUM_GPRS): Move here from tm-s390.h.
712         (S390_NUM_FPRS): Likewise.
713         (s390_in_function_epilogue_p): New function.
714         (s390_is_sigreturn): Replace S390_PSW_ADDR_SIZE by S390_GPR_SIZE.
715         Replace S390_PC_REGNUM by S390_PSWA_REGNUM.
716         (s390_gdbarch_init): Allocate and set up gdbarch_tdep structure.
717         Replace s390_stab_reg_to_regnum by s390_dwarf_reg_to_regnum.
718         Replace S390_FP_REGNUM by S390_SP_REGNUM.
719         Remove calls to:
720         set_gdbarch_deprecated_max_register_raw_size,
721         set_gdbarch_deprecated_max_register_virtual_size,
722         set_gdbarch_deprecated_register_byte,
723         set_gdbarch_cannot_fetch_register,
724         set_gdbarch_cannot_store_register,
725         set_gdbarch_deprecated_register_size,
726         set_gdbarch_deprecated_register_raw_size,
727         set_gdbarch_deprecated_register_virtual_size,
728         set_gdbarch_deprecated_register_virtual_type,
729         set_gdbarch_deprecated_register_bytes.
730         Add calls to:
731         set_gdbarch_num_pseudo_regs,
732         set_gdbarch_register_type,
733         set_gdbarch_convert_register_p,
734         set_gdbarch_register_to_value,
735         set_gdbarch_value_to_register,
736         set_gdbarch_register_reggroup_p,
737         set_gdbarch_regset_from_core_section,
738         set_gdbarch_pseudo_register_read,
739         set_gdbarch_pseudo_register_write,
740         set_gdbarch_in_function_epilogue_p.
741         * Makefile.in (s390-nat.o, s390-tdep.o): Update dependencies.
742         (s390_tdep_h): New variable.
743
744 2004-02-17  Jim Blandy  <jimb@redhat.com>
745
746         * findvar.c (value_from_register): If the type has no length, just
747         return an acceptable value --- don't report an internal error.
748
749         * stabsread.c (read_type): If we find any type numbers that are
750         forward references, complain if the references aren't resolved by
751         the time we're finished reading.
752         (cleanup_undefined_types): Make error message more appropriate for
753         a complaint.
754
755 2004-02-17  Elena Zannoni  <ezannoni@redhat.com>
756
757         * Makefile.in (defs_h): Remove dependency on progress_h.
758         * defs.h (QUIT): Remove use of PROGRESS macro. Remove include of
759         progress.h.
760         * main.c (captured_main): Delete use of START_PROGRESS and
761         END_PROGRESS.
762
763 2004-02-17  Elena Zannoni  <ezannoni@redhat.com>
764
765         * objfiles.c (terminate_minimal_symbol_table): Add back
766         initialization of MSYMBOL_TYPE.
767
768 2004-02-17  David Mosberger  <davidm@hpl.hp.com>
769
770         Committed by Andrew Cagney.
771         * Makefile.in (ia64_tdep_h): New macro.
772         (ia64-linux-tdep.o): Mention $(ia64_tdep_h).
773         (ia64-tdep.o): Likewise.
774         * ia64-tdep.h: New file.
775         * ia64-tdep.c: Update copyright notice.  Include "ia64-tdep.h".
776         (ia64_linux_sigcontext_register_address): Move decl to ia64-tdep.h.
777         (ia64_aix_sigcontext_register_address): Likewise.
778         (ia64_linux_getunwind_table): Delete declaration.
779         * ia64-linux-tdep.c: Likewise.
780
781 2004-02-17  Corinna Vinschen  <vinschen@redhat.com>
782
783         * sh-tdep.c (sh_dsp_register_sim_regno): Use DSP_Rx_BANK_REGNUM.
784         * sh-tdep.h: Rename R0_BANK_REGNUM and R7_BANK_REGNUM to
785         DSP_R0_BANK_REGNUM and DSP_R7_BANK_REGNUM.
786
787 2004-02-17  Andrew Cagney  <cagney@redhat.com>
788
789         * symtab.c (skip_prologue_using_sal): New function.
790         * symtab.h (skip_prologue_using_sal): Declare.
791         * frv-tdep.c: Include "symtab.h".
792         (skip_prologue_using_sal): Delete function.
793         * mips-tdep.c (skip_prologue_using_sal): Delete function.
794         * rs6000-tdep.c (refine_prologue_limit): Mention
795         skip_prologue_using_sal.
796         * ia64-tdep.c (refine_prologue_limit): Ditto.
797         * Makefile.in: Update dependencies.
798
799 2004-02-16  Andrew Cagney  <cagney@redhat.com>
800
801         * config/alpha/tm-nbsd.h: Update copyright, delete #undef
802         START_INFERIOR_TRAPS_EXPECTED.
803         * config/alpha/tm-fbsd.h: Update copyright, delete #undef
804         START_INFERIOR_TRAPS_EXPECTED.
805         * config/alpha/tm-alphalinux.h (START_INFERIOR_TRAPS_EXPECTED):
806         Delete macro.
807         * config/alpha/tm-alpha.h (START_INFERIOR_TRAPS_EXPECTED): Delete
808         macro, moved to "nm-osf.h".  Update copyright.
809         * config/alpha/nm-osf.h (START_INFERIOR_TRAPS_EXPECTED): Define,
810         update copyright.
811
812         * gdbarch.sh (DEPRECATED_FRAMELESS_FUNCTION_INVOCATION): Predicate
813         and function replacing FRAMELESS_FUNCTION_INVOCATION.
814         * blockframe.c (legacy_frameless_look_for_prologue): Rename
815         frameless_look_for_prologue.
816         * frame.h (legacy_frameless_look_for_prologue): Rename
817         frameless_look_for_prologue.
818         * gdbarch.h, gdbarch.c: Re-generate.
819         * sh64-tdep.c (sh64_gdbarch_init): Update.
820         * sh-tdep.c (sh_gdbarch_init): Update.
821         * s390-tdep.c (s390_gdbarch_init): Update.
822         * rs6000-tdep.c (rs6000_gdbarch_init): Update.
823         * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
824         * m68k-tdep.c (m68k_gdbarch_init): Update.
825         (delta68_frame_args_address): Update.
826         * m32r-tdep.c (m32r_gdbarch_init): Update.
827         * hppa-tdep.c (hppa_gdbarch_init): Update.
828         * h8300-tdep.c (h8300_gdbarch_init): Update.
829         * frv-tdep.c (frv_gdbarch_init): Update.
830         (frv_frameless_function_invocation): Update.
831         * cris-tdep.c (cris_gdbarch_init): Update.
832         (cris_frameless_function_invocation): Update.
833         * avr-tdep.c (avr_gdbarch_init): Update.
834         * arm-tdep.c (arm_gdbarch_init): Update.
835         * stack.c (frame_info): Update, call predicate.
836         * rs6000-tdep.c (rs6000_frame_chain): Update, call predicate..
837         * frame.c (legacy_get_prev_frame): Update, call predicate..
838         * arch-utils.c (generic_frameless_function_invocation_not): Delete.
839         * arch-utils.h (generic_frameless_function_invocation_not): Delete.
840         * alpha-tdep.c (alpha_gdbarch_init): Do not set frameless function
841         invocation.
842         * d10v-tdep.c (d10v_gdbarch_init): Ditto.
843         * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
844         * vax-tdep.c (vax_gdbarch_init): Ditto.
845
846         * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): Delete unused
847         function.
848
849 2004-02-16  Daniel Jacobowitz  <drow@mvista.com>
850
851         * objfiles.c (terminate_minimal_symbol_table): Remove unnecessary
852         initializations.
853
854 2004-02-16  Andrew Cagney  <cagney@redhat.com>
855
856         * tui/tui-windata.c: Include "gdb_string.h".
857         * tui/tui-source.c, tui/tui-winsource.c: Ditto.
858         * tui/tui-layout.c, tui/tui-command.c: Ditto.
859         * Makefile.in: Update dependencies.
860
861 2004-02-16  Daniel Jacobowitz  <drow@mvista.com>
862
863         * Makefile.in (infrun.o): Add $(gdb_assert_h).
864         * infrun.c: Include "gdb_assert.h".
865         (singlestep_ptid, saved_singlestep_ptid)
866         (stepping_past_singlestep_breakpoint): New variables.
867         (resume): Set singlestep_ptid.  Check for singlestep thread
868         hop.
869         (init_wait_for_inferior): Clear stepping_past_singlestep_breakpoint.
870         (handle_inferior_event): Handle singlestep thread hop.
871
872 2004-02-16  Andrew Cagney  <cagney@redhat.com>
873
874         * dwarf2-frame.c (dwarf2_frame_ops): New function.
875         (dwarf2_frame_set_init_reg): Use, instead of gdbarch_data.
876         (dwarf2_frame_init_reg): Ditto.
877
878         * printcmd.c (display_command): Check that EXP isn't NULL.  Fix
879         suggested by Joshua Neuheisel
880
881         * configure.in: Always check for curses, including pdcurses.
882         Warn, instead of error, when no curses are found.  Enable TUI when
883         curses is available.
884         * configure: Re-generate.
885
886 2004-02-16  Corinna Vinschen  <vinschen@redhat.com>
887
888         * sh-tdep.c (sh_register_convert_to_virtual): Rename from
889         sh_sh4_register_convert_to_virtual.
890         (sh_register_convert_to_raw): Rename from
891         sh_sh4_register_convert_to_raw.
892         (sh_pseudo_register_read): Accomodate above name change.
893         (sh_pseudo_register_write): Ditto.
894
895 2004-02-16  Corinna Vinschen  <vinschen@redhat.com>
896
897         * sh-tdep.c (sh_generic_register_name): Remove.
898         (sh_gdbarch_init): Use sh_sh_register_name in default case.
899
900 2004-02-15  Andrew Cagney  <cagney@redhat.com>
901
902         * configure.in (build_warnings): Add -Wunused-function.
903         * configure: Re-generate.
904
905         * config/tm-lynx.h (START_INFERIOR_TRAPS_EXPECTED): Delete macro.
906         * config/rs6000/tm-rs6000.h (START_INFERIOR_TRAPS_EXPECTED): Ditto.
907
908         * procfs.c (procfs_init_inferior): Assume that
909         START_INFERIOR_TRAPS_EXPECTED is defined.
910         * config/ns32k/nbsdaout.mt (TM_FILE): Set to tm-ns32k.h.
911         * config/ns32k/tm-nbsd.h: Delete file,
912         START_INFERIOR_TRAPS_EXPECTED already defined as 2.
913
914         * config/vax/tm-vaxbsd.h: Do not include "tm-vax.h".
915         * config/vax/tm-vax.h: Delete file.
916
917         * config/mips/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
918         * config/i386/tm-i386bsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
919         * config/arm/tm-linux.h (SIGCONTEXT_PC_OFFSET): Delete macro.
920         * config/vax/tm-vaxbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
921         * vax-tdep.c (vax_sigtramp_saved_pc): Inline only reference.
922         * config/ns32k/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
923         * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Inline only reference.
924
925 2004-02-15  Mark Kettenis  <kettenis@gnu.org>
926
927         * dwarf2-frame.h (dwarf2_frame_set_init_reg): New prototype.
928         * dwarf2-frame.c (dwarf2_frame_data): New variable.
929         (struct dwarf2_frame_ops): New.
930         (dwarf2_frame_default_init_reg): New function, based on
931         dwarf2_frame_init_reg.
932         (dwarf2_frame_init, dwarf2_frame_set_init_reg): New function.
933         (dwarf2_frame_init_reg): Call architecture-specific function.
934         (dwarf2_frame_objfile_data): Renamed from dwarf2_frame_data.
935         (dwarf2_frame_find_fde, add_fde): Use dwarf2_frame_objfile_data
936         instead of dwarf2_frame_data.
937         (_initialize_dwarf2_frame): Initailize new dwarf2_frame_data.
938         Initialize dwarf2_frame_objfile instead of old dwarf2_frame_data.
939
940 2004-02-15  Andrew Cagney  <cagney@redhat.com>
941
942         * gdbarch.sh (deprecated_register_gdbarch_swap): Rename
943         register_gdbarch_swap.
944         (DEPRECATED_REGISTER_GDBARCH_SWAP): Rename REGISTER_GDBARCH_SWAP.
945         * f-lang.c (_initialize_f_language): Update, use
946         DEPRECATED_REGISTER_GDBARCH_SWAP.
947         * remote.c (_initialize_remote): Ditto.
948         * regcache.c (_initialize_regcache): Ditto.
949         * parse.c (_initialize_parse): Ditto.
950         * infrun.c (_initialize_infrun): Ditto.
951         * mi/mi-main.c (_initialize_mi_main): Ditto.
952         * gdbtypes.c (_initialize_gdbtypes): Ditto.
953
954         * solib.c (solib_map_sections): Use bfd_set_cacheable instead of
955         poking .cacheable directly.
956         * symfile.c (symfile_bfd_open): Ditto.
957
958         * Makefile.in: Update all dependencies.
959
960         * Makefile.in: (.SUFFIXES): Add ".l" and ".y".
961         (.y.c, .l.c): Specify implicit rule.  Instead of .tab.c, generate
962         .c.  Update references.  Delete unnecessary .tab.c and -lex.c rules.
963         (ada-exp.o, c-exp.o, f-exp.o): Replace ada-exp.tab.o et.al. rule.
964         (jv-exp.o, m2-exp.o, objc-exp.o, p-exp.o): Similar.
965
966 2004-02-14  Andrew Cagney  <cagney@redhat.com>
967
968         * arch-utils.c (legacy_convert_register_p): Check
969         DEPRECATED_REGISTER_CONVERTIBLE_P.
970         * findvar.c (value_of_register): Ditto.
971
972         * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Add predicate.
973         * gdbarch.h, gdbarch.c: Re-generate.
974         * arch-utils.c (deprecated_register_convertible_not): Delete.
975         * arch-utils.h (deprecated_register_convertible_not): Delete.
976         * mi/mi-main.c (get_register): Update.  Update copyright.
977         * infcmd.c (default_print_registers_info): Update.
978
979         * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
980         (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Delete.
981         (DEPRECATED_CALL_DUMMY_ADDRESS): Delete.
982         * gdbarch.h, gdbarch.c: Re-generate.
983         * frame.c (deprecated_get_next_frame_hack): Delete function.
984         * frame.h (deprecated_get_next_frame_hack): Delete declaration.
985         * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point):
986         Update.
987         * infcall.c (call_function_by_hand): Update.
988
989 2004-02-14  Elena Zannoni  <ezannoni@redhat.com>
990
991         * symfile.c (init_entry_point_info, entry_point_address): Move
992         from here...
993         * objfiles.c (init_entry_point_info, entry_point_address):..to
994         here.
995         * symfile.h (init_entry_point_info, entry_point_address): Remove
996         prototypes.
997         * objfiles.h (init_entry_point_info, entry_point_address):Add
998         prototypes.
999         * cris-tdep.c: Remove include of symfile.h. Add include of
1000         objfiles.h.
1001         * infcall.c: Ditto.
1002         * mcore-tdep.c: Ditto.
1003         * mn10300-tdep.c: Ditto.
1004         * sh64-tdep.c: Ditto.
1005         * v850-tdep.c: Ditto.
1006         * arm-tdep.c: Remove include of symfile.h.
1007         * blockframe.c: Ditto.
1008         * coffread.c: Ditto.
1009         * dbxread.c: Ditto.
1010         * dwarf2read.c: Ditto.
1011         * dwarfread.c: Ditto.
1012         * frv-tdep.c: Ditto.
1013         * ia64-tdep.c: Ditto.
1014         * mdebugread.c: Ditto.
1015         * mipsread.c: Ditto.
1016         * rs6000-tdep.c: Ditto.
1017         * s390-tdep.c: Ditto.
1018         * sh-tdep.c: Ditto.
1019         * xstormy16-tdep.c: Ditto.
1020         * gdbarch.sh: Remove include of symfile.h.
1021         * gdbarch.c: Regenerate.
1022         * solib-irix.c (enable_break): Use entry_point_address().
1023         Add comment about include file.
1024         * xcoffread.c: Add comment about include file.
1025         * Makefile.in (arm-tdep.o, blockframe.o, coffread.o, cris-tdep.o)
1026         (dbxread.o, dwarf2read.o, dwarfread.o, frv-tdep.o, gdbarch.o)
1027         (ia64-tdep.o, infcall.o, mcore-tdep.o, mdebugread.o, mipsread.o)
1028         (mn10300-tdep.o, rs6000-nat.o, s390-tdep.o, sh64-tdep.o)
1029         (sh-tdep.o, v850-tdep.o, xstormy16-tdep.o): Update dependencies.
1030
1031 2004-02-13  Andrew Cagney  <cagney@redhat.com>
1032
1033         * corelow.c (core_xfer_partial): Use "struct bfd_section".
1034         * config/sparc/nm-nbsd.h (struct target_ops): Declare, update
1035         copyright.
1036         * mips-linux-tdep.c: Use "GNU/Linux", update copyright.
1037
1038 2004-02-12  Fred Fish  <fnf@redhat.com>
1039
1040         * m68hc11-tdep.c (m68hc11_gdbarch_init): Remove duplicate call to
1041          set_gdbarch_store_return_value.
1042
1043 2004-02-12  Andrew Cagney  <cagney@redhat.com>
1044
1045         * remote-rdi.c (arm_rdi_start_remote): Delete unused function.
1046         (arm_rdi_interrupt, arm_rdi_interrupt_twice): Ditto.
1047         (interrupt_query): Ditto.
1048         (ofunc): Delete unused variable.
1049         * cris-tdep.c (cris_abi): Delete unused function.
1050         (reg_pop_op, move_reg_to_mem_index_inc_op): Ditto.
1051         (cris_get_wide_opcode, cris_get_short_size): Ditto.
1052         (cris_get_asr_quick_shift_steps): Ditto.
1053         (cris_skip_prologue_frameless_p): Ditto.
1054         * arm-tdep.c (arm_push_return_address): Delete unused function.
1055         (arm_push_dummy_frame, arm_fix_call_dummy): Ditto.
1056         * rs6000-tdep.c (rs6000_pc_in_call_dummy): Delete unused function.
1057         * s390-tdep.c (s390_function_start): Delete unused function.
1058
1059 2004-02-12  Andrew Cagney  <cagney@redhat.com>
1060
1061         * gdbarch.sh (PROLOGUE_FRAMELESS_P): Delete.
1062         gdbarch.h, gdbarch.c: Re-generate.
1063         * cris-tdep.c (cris_gdbarch_init): Do not set prologue_frameless_p
1064         to generic_prologue_frameless_p.
1065         * arch-utils.h (generic_prologue_frameless_p): Delete declaration.
1066         * arch-utils.c (generic_prologue_frameless_p): Delete function.
1067
1068 2004-02-11  Daniel Jacobowitz  <drow@mvista.com>
1069
1070         * mips-linux-tdep.c: Include "frame.h".
1071         (mips_linux_in_dynsym_stub, mips_linux_in_dynsym_resolve_code)
1072         (mips_linux_skip_resolver): New functions.
1073         (mips_linux_init_abi): Call set_gdbarch_skip_solib_resolver
1074         and set_gdbarch_in_solib_call_trampoline.
1075         * mips-tdep.c (mips_gdbarch_init): Move gdbarch_init_osabi call
1076         to after set_gdbarch_in_solib_return_trampoline.  Only set the
1077         solib hooks to mips16 functions if the OS ABI is unknown.
1078         * config/mips/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Undefine after
1079         including "config/tm-linux.h".
1080         (IN_SOLIB_DYNSYM_RESOLVE_CODE): Define.
1081         * Makefile.in (mips-linux-tdep.o): Update.
1082
1083 2004-02-11  David Carlton  <carlton@kealia.com>
1084
1085         * linespec.c (decode_compound): Only look for a class symbol when
1086         considering all but the rightmost component.
1087
1088 2004-02-11  Andrew Cagney  <cagney@redhat.com>
1089
1090         * hppa-tdep.c (hppa_gdbarch_init): Re-order so that the frame and
1091         abi code are are separatly grouped.
1092
1093 2004-02-11  Andrew Cagney  <cagney@redhat.com>
1094
1095         * gdbarch.sh (FRAME_ARGS_SKIP): Default to 0.
1096         * gdbarch.h, gdbarch.c: Re-generate.
1097         * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1098         * v850-tdep.c (v850_gdbarch_init): Update.
1099         * sh64-tdep.c (sh64_gdbarch_init): Update.
1100         * sh-tdep.c (sh_gdbarch_init): Update.
1101         * s390-tdep.c (s390_gdbarch_init): Update.
1102         * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1103         * mips-tdep.c (mips_gdbarch_init): Update.
1104         * mcore-tdep.c (mcore_gdbarch_init): Update.
1105         * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1106         * m32r-tdep.c (m32r_gdbarch_init): Update.
1107         * ia64-tdep.c (ia64_gdbarch_init): Update.
1108         * hppa-tdep.c (hppa_gdbarch_init): Update.
1109         * h8300-tdep.c (h8300_gdbarch_init): Update.
1110         * frv-tdep.c (frv_gdbarch_init): Update.
1111         * d10v-tdep.c (d10v_gdbarch_init): Update.
1112         * cris-tdep.c (cris_gdbarch_init): Update.
1113         * avr-tdep.c (avr_gdbarch_init): Update.
1114         * arm-tdep.c (arm_gdbarch_init): Update.
1115         * alpha-tdep.c (alpha_gdbarch_init): Update.
1116
1117 2004-02-11  Corinna Vinschen  <vinschen@redhat.com>
1118
1119         * sh-tdep.c (sh_sh3_dsp_register_name): Fix formatting. Add missing
1120         comma.
1121         (sh_sh4al_dsp_register_name): Ditto.
1122
1123 2004-02-10  Andrew Cagney  <cagney@redhat.com>
1124
1125         * mips-tdep.c (mips_gdbarch_init): Delete deprecated frame code.
1126         (mips_init_frame_pc_first): Delete function.
1127         (mips_frame_saved_pc): Delete function.
1128         (mips_frame_chain): Delete function.
1129         (mips_init_extra_frame_info): Delete function.
1130         (mips_xfer_register): Delete unused variable "reg".
1131         (mips_n32n64_push_dummy_call): Delete unused variable "valbuf".
1132         (mips_n32n64_return_value): Delete unused variable "reg".
1133         (mips_n32n64_return_value): Delete unused variable "pos".
1134         (mips_o32_push_dummy_call): Delete unused variable "valbuf".
1135         (mips_o32_return_value): Delete unused variable "pos".
1136         (mips_o64_push_dummy_call): Delete unused variable "valbuf".
1137         (mips_print_fp_register): Delete unused variable "namelen"
1138         (mips_print_fp_register): Delete unused variable "flt2"
1139         (get_frame_pointer): Delete function.
1140         (cached_proc_desc): Delete static variable.
1141         (mips_pop_frame): Delete function.
1142         (mips_find_saved_regs): Delete function.
1143         (mips_get_saved_register): Delete function.
1144         (mips_saved_pc_after_call): Delete function.
1145         (SIGFRAME_BASE): Delete macro.
1146         (SIGFRAME_FPREGSAVE_OFF): Delete macro.
1147         (SIGFRAME_PC_OFF): Delete macro.
1148         (SIGFRAME_REGSAVE_OFF): Delete macro.
1149         (mips_dump_tdep): Do not print deleted macro definitions.
1150
1151 2004-02-10  Andrew Cagney  <cagney@redhat.com>
1152
1153         * Makefile.in (SFILES): Remove explictly listed tui files.
1154         (SUBDIR_GDBTK_SRCS): Fix path to gdbtk-interp.c.
1155
1156 2004-02-10  Jeff Johnston  <jjohnstn@redhat.com>
1157
1158         * ia64-tdep.c (ia64_frame_this_id): Fix tracing print statement
1159         to use paddr functions to format ia64 addresses and long values.
1160         (ia64_frame_prev_register, ia64_sigtramp_frame_this_id): Ditto.
1161         (ia64_sigtramp_frame_prev_register, ia64_access_reg): Ditto.
1162         (get_kernel_table, ia64_find_proc_info_x): Ditto.
1163         (ia64_get_dyn_info_list, ia64_libunwind_this_frame_id): Ditto.
1164         (ia64_libunwind_frame_prev_register, ia64_unwind_dummy_id): Ditto.
1165
1166 2004-02-10  Andrew Cagney  <cagney@redhat.com>
1167
1168         * defs.h: Do not include "tui.h".
1169         * gdb_curses.h: New file.
1170         * tui/tui-hooks.h: New file.
1171         * tui/tui.h (tui_update_all_exec_infos): Delete declaration.
1172         (tui_install_hooks, tui_remove_hooks): Delete declarations.
1173         (tui_initialize_io): Delete declaration.
1174         (tui_initialize_readline: Delete redundant declaration.
1175         (struct tui_point): Delete definition.
1176         * tui/tui-data.h (struct tui_point): Define.
1177         * cli/cli-decode.c [TUI]: Include "tui/tui.h".
1178         * utils.c: Include "tui/tui.h".
1179         * tui/tui-data.h: Include "tui/tui.h" and "gdb_curses.h".
1180         * printcmd.c [TUI]: Include "tui/tui.h".
1181         * cli/cli-cmds.c [TUI]: Include "tui/tui.h".
1182         * tui/tui-command.c: Include "gdb_curses.h".
1183         * tui/tui.c, tui/tui-winsource.c, tui/tui-wingeneral.c: Ditto.
1184         * tui/tui-windata.c, tui/tui-win.c, tui/tui-stack.c: Ditto.
1185         * tui/tui-source.c, tui/tui-regs.c, tui/tui-layout.c: Ditto.
1186         * tui/tui-io.c, tui/tui-disasm.c, tui/tui-data.c: : Ditto.
1187         * tui/tui-hooks.c: Include "tui-hooks.h" and "gdb_curses.h".
1188         * Makefile.in: Update all dependencies.
1189         (tui_hooks_h, gdb_curses_h): Define.
1190         (SUBDIR_TUI_CFLAGS): Remove -I${srcdir}/tui.
1191
1192 2004-02-10  Elena Zannoni  <ezannoni@redhat.com>
1193
1194         * objfiles.h (struct objfile): Remove unused fields auxf1 and
1195         auxf2. Add comments about some other rarely used fields.
1196
1197 2004-02-10  Andrew Cagney  <cagney@redhat.com>
1198
1199         * Makefile.in (init.c): Fix script removing duplicates. Problem
1200         reported by Peter Schauer.
1201
1202 2004-02-09  Elena Zannoni  <ezannoni@redhat.com>
1203
1204         * bcache.c (bcache_xmalloc): Use obstack_init instead of
1205         obstack_specify_allocation.
1206         * objfiles.c (allocate_objfile): Ditto.
1207         * solib-sunos.c (solib_add_common_symbols)
1208         (allocate_rt_common_objfile): Ditto.
1209         * symfile.c (reread_symbols): Ditto.
1210         * gdb_obstack.h: Add comment.
1211
1212 2004-02-09  Elena Zannoni  <ezannoni@redhat.com>
1213
1214         * linespec.c (decode_line_1, locate_first_half)
1215         (decode_compound, lookup_prefix_sym): Update comments. Delete old
1216         commented out code.
1217
1218 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
1219
1220         * cp-namespace.c (check_one_possible_namespace_symbol): Don't use
1221         obstack_free.
1222
1223 2004-02-09  Andrew Cagney  <cagney@redhat.com>
1224
1225         * blockframe.c (find_pc_partial_function): If find_pc_overlay
1226         fails, try find_pc_section.  Fix PR c++/1267.
1227         * minsyms.c (lookup_minimal_symbol_by_pc): Use find_pc_section
1228         instead of find_pc_mapped_section.
1229         (lookup_minimal_symbol_by_pc_section): If the SECTION is NULL, do
1230         not default to the section containing PC.  Fix PR symtab/1519.
1231
1232 2004-02-09  Andrew Cagney  <cagney@redhat.com>
1233
1234         * Makefile.in (mips-tdep.o): Update dependencies.
1235         * mips-tdep.c: Include "frame-unwind.h", "frame-base.h" and
1236         "trad-frame.h".
1237         (mips_unwind_pc): Return the pseudo PC register.
1238         (mips_unwind_dummy_id): New function.
1239         (mips16_fetch_instruction): New function.
1240         (mips32_fetch_instruction): New function.
1241         (struct mips_frame_cache): Define.
1242         (mips_mdebug_frame_cache): New function.
1243         (mips_mdebug_frame_this_id): New function.
1244         (mips_mdebug_frame_prev_register): New function.
1245         (mips_mdebug_frame_unwind): Define.
1246         (mips_mdebug_frame_sniffer): New function.
1247         (mips_mdebug_frame_base_address): New function.
1248         (mips_mdebug_frame_base): Define.
1249         (mips_mdebug_frame_base_sniffer): New function.
1250         (mips_gdbarch_init): Append unwind and base sniffers.  Set
1251         unwind_dummy_id.
1252
1253 2004-02-08  Andrew Cagney  <cagney@redhat.com>
1254
1255         * frame.c: Print both the register number and name.
1256
1257         * Makefile.in (init.c): Eliminate duplicates.  Combine two greps
1258         and a sed into a single sed.  Make .c and .o patterns more robust.
1259         (OBS): Delete.
1260         (INIT_FILES): Replace OBS with COMMON_OBS.
1261         (COMMON_OBS): Move DEPFILES and YYOBJ to start of definition.
1262
1263 2004-02-08  Mark Kettenis  <kettenis@gnu.org>
1264
1265         * sparc-nat.c (sparc_xfer_wcookie): Try to fetch the cookie using
1266         the PT_WCOOKIE request.
1267
1268 2004-02-08  Andrew Cagney  <cagney@redhat.com>
1269
1270         * mips-tdep.c (mips_unwind_pc): New function.
1271         (mips_gdbarch_init): Set mips_unwind_pc.
1272
1273         * frame.c (legacy_saved_regs_this_id): Return a null frame ID.
1274         (get_frame_id): Allow the UNKNOWN_FRAME.
1275         (frame_register_unwind, get_frame_type): Ditto.
1276
1277         * frame.c (legacy_frame_p): Check for DEPRECATED_TARGET_READ_FP_P
1278         and DEPRECATED_FP_REGNUM.  Don't assume that the lack of
1279         unwind_dummy_id indicates a legacy frame.
1280
1281         * configure.in (CONFIG_LIB_OBS): Replace with CONFIG_OBS.
1282         * configure: Re-generate.
1283
1284         * mips-tdep.c (mips_gdbarch_init): Group deprecated frame unwind
1285         methods.
1286
1287 2004-02-08  Andrew Cagney  <cagney@redhat.com>
1288
1289         * configure.in (CONFIG_ALL): Set to Makefile target, and not
1290         makefile macro.
1291         * configure: Re-generate.
1292         (CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Ditto.
1293         * Makefile.in (SUBDIR_CLI_CLEAN): Delete.
1294         (SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): Delete.
1295         (SUBDIR_CLI_ALL, SUBDIR_GDBTK_ALL): Delete.
1296         (SUBDIR_GDBTK_CLEAN, SUBDIR_GDBTK_INSTALL): Delete.
1297         (SUBDIR_GDBTK_UNINSTALL, SUBDIR_MI_ALL): Delete.
1298         (SUBDIR_MI_CLEAN, SUBDIR_MI_INSTALL): Delete.
1299         (SUBDIR_MI_UNINSTALL, SUBDIR_TUI_ALL): Delete.
1300         (SUBDIR_TUI_CLEAN, SUBDIR_TUI_INSTALL): Delete.
1301         (SUBDIR_TUI_UNINSTALL, SUBDIR_CLI_CLEAN): Delete.
1302
1303 2004-02-07  Andrew Cagney  <cagney@redhat.com>
1304
1305         * Makefile.in: Update all dependencies.
1306
1307         * configure.in (CONFIG_INITS, CONFIG_LIB_OBS): Delete.
1308         * configure: Re-generate.
1309         * Makefile.in (INIT_FILES): Replace CONFIG_INITS with CONFIG_SRCS.
1310         (CONFIG_LIB_OBS, CONFIG_INITS): Delete.
1311         (COMMON_OBS): Add "main.o" and "annotate.o".
1312         (ANNOTATE_OBS): Delete.
1313         (OBS): Remove ANNOTATE_OBS.
1314         (DEPFILES): Replace CONFIG_LIB_OBS with CONFIG_LIB_OBS, remove
1315         CONFIG_INITS.
1316         (gdb$(EXEEXT), insight$(EXEEXT)): Do not depend on, or link
1317         against CONFIG_OBS and "main.o".
1318         (SUBDIR_CLI_INITS, SUBDIR_MI_INITS): Delete.
1319         (SUBDIR_TUI_INITS, SUBDIR_GDBTK_INITS): Delete.
1320
1321         * tui/tui-command.c: Include "gdb_string.h", delete register
1322         attribute, use ISO-C function signatures.
1323         * tui/tui-disasm.c, tui/tui-file.c, tui/tui-io.c: Ditto.
1324         * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto.
1325         * tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Ditto.
1326         * tui/tui.c: Ditto.
1327
1328         * tui/tui-command.c: Change variable and function names to lower
1329         case.
1330         * tui/tui-data.c, tui/tui-disasm.c: Ditto.
1331         * tui/tui-hooks.c, tui/tui-io.c, tui/tui-layout.c: Ditto.
1332         * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto.
1333         * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
1334         * tui/tui-winsource.c, tui/tui.c: Ditto.
1335
1336 2004-02-07  Elena Zannoni  <ezannoni@redhat.com>
1337
1338         * buildsym.c (free_pending_blocks, finish_block)
1339         (record_pending_block, make_blockvector, end_symtab): Replace
1340         symbol_obstack with objfile_obstack.
1341         * coffread.c (process_coff_symbol, coff_read_struct_type)
1342         (coff_read_enum_type): Ditto.
1343         * cp-namespace.c (initialize_namespace_symtab)
1344         (check_one_possible_namespace_symbol): Ditto.
1345         * dwarf2read.c (new_symbol, dwarf2_const_value, macro_start_file)
1346         (dwarf2_symbol_mark_computed): Ditto.
1347         * dwarfread.c (enum_type, new_symbol, synthesize_typedef): Ditto.
1348         * elfread.c (elf_symtab_read): Ditto.
1349         * hpread.c (hpread_symfile_init, hpread_symfile_init)
1350         (hpread_read_enum_type, hpread_read_function_type)
1351         (hpread_read_doc_function_type, hpread_process_one_debug_symbol):
1352         Ditto.
1353         * jv-lang.c (get_java_class_symtab, add_class_symbol)
1354         (java_link_class_type): Ditto.
1355         * mdebugread.c (parse_symbol, psymtab_to_symtab_1, new_symtab)
1356         (new_symbol): Ditto.
1357         * minsyms.c (install_minimal_symbols): Ditto.
1358         * objfiles.c (allocate_objfile): Remove init of symbol_obstack.
1359         (terminate_minimal_symbol_table): Replace symbol_obstack with
1360         objfile_obstack.
1361         (free_objfile): Remove freeing of symbol_obstack.
1362         * objfiles.h: Remove symbol_obstack field.
1363         * pa64solib.c (add_to_solist): Replace symbol_obstack with
1364         objfile_obstack.
1365         * solib-sunos.c (allocate_rt_common_objfile): Remove init of
1366         symbol_obstack.
1367         (solib_add_common_symbols): Replace symbol_obstack with
1368         objfile_obstack.
1369         * somsolib.c (som_solib_add): Ditto.
1370         * stabsread.c (patch_block_stabs, define_symbol, read_enum_type)
1371         (common_block_start, common_block_end): Ditto.
1372         * symfile.c (reread_symbols): Remove freeing and init of
1373         symbol_obstack.
1374         (allocate_symtab): Rename symbol_obstack to objfile_obstack.
1375         * symfile.h: Update comment.
1376         * symmisc.c (print_objfile_statistics): Remove symbol_obstack
1377         stats printing.
1378         * symtab.c (symbol_set_names): Replace symbol_obstack with
1379         objfile_obstack.
1380         * symtab.h (struct general_symbol_info, struct minimal_symbol):
1381         Update comments.
1382         * xcoffread.c (read_xcoff_symtab, SYMBOL_DUP, SYMNAME_ALLOC)
1383         (init_stringtab, xcoff_initial_scan): Replace symbol_obstack with
1384         objfile_obstack.
1385
1386 2004-02-07  Andrew Cagney  <cagney@redhat.com>
1387
1388         * tui/tui.h: Do not include <stdarg.h>, <string.h>, and
1389         "ansidecl.h".  Do not undef "reg" and "chtype".  Fix case of
1390         fields and variables.
1391         * tui/tui-wingeneral.h (m_beVisible): Delete macro.
1392         (m_beInvisible): Delete macro.
1393         * tui/tui-data.h: Fix case case fields and variables.
1394         (m_genWinPtrIsNull): Delete macro.
1395         (tui_win_list): Rename winList.
1396         (TUI_SRC_WIN): Rename srcWin.
1397         (TUI_DISASM_WIN): Rename disassemWin.
1398         (TUI_DATA_WIN): Rename dataWin.
1399         (TUI_CMD_WIN): Rename cmdWin.
1400         (m_genWinPtrNotNull): Delete macro.
1401         (m_winPtrIsNull): Delete macro.
1402         (m_winPtrNotNull): Delete macro.
1403         (tui_win_is_source_type): Replace m_winIsSourceType
1404         (tui_win_is_auxillary): Replace m_winIsAuzillary.
1405         (tui_win_has_locator): Replace m_hasLocator.
1406         (tui_set_win_highlight): Replace m_setWinHighlightOn and
1407         m_setWinHighlightOff.
1408         * tui/tui-data.c: Update references.
1409         (tui_win_is_source_type, tui_set_win_highlight): New functions.
1410         (tui_win_has_locator, tui_win_is_auxillary): New functions.
1411         * tui/tui-command.c, tui/tui-disasm.c: Update references.
1412         * tui/tui-io.c, tui/tui-layout.c, tui/tui-regs.c: Ditto.
1413         * tui/tui-regs.h, tui/tui-source.c, tui/tui-stack.c: Ditto.
1414         * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
1415         * tui/tui-winsource.c, tui/tui.c: Ditto.
1416
1417 2004-02-07  Mark Kettenis  <kettenis@gnu.org>
1418
1419         * sparc-tdep.h (sparc_fetch_wcookie): New prototype.
1420         * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Handle
1421         StackGhost.
1422
1423         * sparc-tdep.c (sparc32_frame_prev_register): Rename local
1424         variable `i6' to `i7'.
1425         (sparc_supply_rwindow, sparc_collect_rwindow): Likewise.
1426
1427 2004-02-07  Andrew Cagney  <cagney@redhat.com>
1428
1429         * tui/tui.h (Opaque, OpaquePtr OpaqueList): Delete definition.
1430         (TuiPoint, TuiPointPtr): Ditto.
1431         (TuiStatus, TuiStatusPtr): Ditto.
1432         (TuiWinType, TuiWinTypePtr): Ditto.
1433         (struct tui_point): Rename _TuiPoint.
1434         (tui_get_low_disassembly_address): Rename
1435         tuiGetLowDisassemblyAddress.
1436         (tui_update_all_exec_infos): Rename tuiUpdateAllExecInfos.
1437         (tuiFree): Delete declaration.
1438         (OpaqueFuncPtr, TuiOpaqueFuncPtr): Delete definitions.
1439         (TuiVoidFuncPtr, TuiIntFuncPtr): Delete definitions.
1440         * tui/tui.c (tuiFree): Delete function.
1441         * cli/cli-cmds.c (disassemble_command): Update references.
1442         * tui/tui-data.c, tui/tui-data.h, tui/tui-disasm.c: Ditto.
1443         * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto.
1444         * tui/tui-stack.c, tui/tui-win.c, tui/tui-wingeneral.c: Ditto.
1445         * tui/tui-winsource.c: Ditto.
1446
1447 2004-02-07  Elena Zannoni  <ezannoni@redhat.com>
1448
1449         * dbxread.c (dbx_symfile_init, start_psymtab, end_psymtab,
1450         coffstab_build_psymtabs, elfstab_build_psymtabs)
1451         (stabsect_build_psymtabs): Replace psymbol_obstack with
1452         objfile_obstack.
1453         * dwarf2-frame.c (decode_frame_entry_1): Ditto.
1454         * dwarf2read.c (dwarf2_build_psymtabs_hard, dwarf2_read_section):
1455         Ditto.
1456         * dwarfread.c (scan_compilation_units): Ditto.
1457         * elfread.c (elfstab_offset_sections): Ditto.
1458         * hppa-tdep.c (read_unwind_info): Ditto.
1459         * hpread.c (hpread_build_psymtabs, hpread_start_psymtab)
1460         (hpread_end_psymtab): Ditto.
1461         * mdebugread.c (mdebug_build_psymtabs, add_pending)
1462         (parse_partial_symbols, new_psymtab, elfmdebug_build_psymtabs):
1463         Ditto.
1464         * mips-tdep.c (non_heuristic_proc_desc): Ditto.
1465         * objfiles.c (add_to_objfile_sections)
1466         (build_objfile_section_table): Ditto.
1467         (allocate_objfile): Remove init of psymbol_obstack.
1468         (free_objfile): Remove freeing of psymbol_obstack.
1469         * objfiles.h (struct objfile): Remove field
1470         psymbol_obstack. Update comments.
1471         * pa64solib.c (pa64_solib_add_solib_objfile): Replace
1472         psymbol_obstack with objfile_obstack.
1473         * solib-sunos.c (allocate_rt_common_objfile): Remove init of
1474         psymbol_obstack.
1475         * somread.c (som_symfile_offsets, init_import_symbols)
1476         (init_export_symbols): Replace psymbol_obstack with
1477         objfile_obstack.
1478         * somsolib.c (som_solib_add_solib_objfile): Ditto.
1479         * symfile.c (default_symfile_offsets, syms_from_objfile)
1480         (reread_symbols): Remove freeing and init of psymbol_obstack.
1481         (cashier_psymtab): Update comment.
1482         * symmisc.c (print_objfile_statistics): Don't report stats for
1483         psymbol obstack.
1484         * symtab.h (struct general_symbol_info, struct partial_symtab):
1485         Update comments.
1486         * xcoffread.c (xcoff_start_psymtab, xcoff_end_psymtab, swap_sym)
1487         (xcoff_symfile_offsets): Replace psymbol_obstack with
1488         objfile_obstack.
1489
1490 2004-02-07  Elena Zannoni  <ezannoni@redhat.com>
1491
1492         * objfiles.h (struct objfile): Add objfile_obstack field.
1493         Remove type_obstack field.
1494
1495         * dwarf2read.c (dwarf2_add_field,dwarf2_add_member_fn,
1496         read_structure_scope read_enumeration, new_symbol): Replace
1497         type_obstack with objfile_obstack.
1498         * dwarfread.c (struct_type, enum_type): Ditto.
1499         * gdbtypes.c (alloc_type, alloc_type_instance, init_type)
1500         (lookup_fundamental_type): Ditto.
1501         * gdbtypes.h (TYPE_ALLOC): Ditto.
1502         * hpread.c (hpread_read_enum_type, hpread_read_function_type)
1503         (hpread_read_doc_function_type, hpread_read_struct_type)
1504         (fix_static_member_physnames, hpread_read_array_type)
1505         (hpread_read_subrange_type, hpread_type_lookup): Ditto.
1506         * jv-lang.c (java_lookup_class, type_from_class, type_from_class)
1507         (java_link_class_type): Ditto.
1508         * mdebugread.c (parse_type): Ditto.
1509         * objfiles.c (allocate_objfile, free_objfile): Ditto.
1510         * solib-sunos.c (solib_add_common_symbols): Ditto.
1511         * stabsread.c (define_symbol, read_type, read_member_functions,
1512         read_cpp_abbrev, read_one_struct_field): Ditto.
1513         * symfile.c (reread_symbols): Ditto.
1514         * symmisc.c (print_objfile_statistics): Ditto.
1515
1516 2004-02-07  Andrew Cagney  <cagney@redhat.com>
1517
1518         * tui/tui-data.h (tui_win_element): Rename TuiWinElement.
1519         (tui_exec_info_content): Rename TuiExecInfoContent.
1520         (TuiGenWinInfo, TuiGenWinInfoPtr): Delete definitions.
1521         (TuiWinInfo, TuiWinInfoPtr): Ditto.
1522         (TuiScrollDirection, TuiScrollDirectionPtr): Ditto.
1523         (TuiList, TuiListPtr): Ditto.
1524         (TuiLayoutType, TuiLayoutTypePtr): Ditto.
1525         (TuiDataType, TuiDataTypePtr): Ditto.
1526         (TuiRegisterDisplayType, TuiRegisterDisplayTypePtr): Ditto.
1527         (TuiLineOrAddress, TuiLineOrAddressPtr): Ditto.
1528         (TuiLayoutDef, TuiLayoutDefPtr): Ditto.
1529         (TuiSourceElement, TuiSourceElementPtr): Ditto.
1530         (TuiDataElement, TuiDataElementPtr): Ditto.
1531         (TuiWinElement, TuiWinElementPtr): Ditto.
1532         (TuiDataInfo, TuiDataInfoPtr): Ditto.
1533         (TuiCommandElement, TuiCommandElementPtr): Ditto.
1534         (TuiLocatorElement, TuiLocatorElementPtr): Ditto.
1535         (TuiWhichElement, TuiWhichElementPtr): Ditto.
1536         (TuiSourceInfo, TuiSourceInfoPtr): Ditto.
1537         (TuiCommandInfo, TuiCommandInfoPtr): Ditto.
1538         * tui/tui-command.c, tui/tui-data.c: Update references.
1539         * tui/tui-data.h, tui/tui-disasm.c, tui/tui-layout.c: Ditto.
1540         * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto.
1541         * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
1542         * tui/tui-winsource.c, tui/tui.c: Ditto.
1543
1544 2004-02-07  Mark Kettenis  <kettenis@gnu.org>
1545
1546         * dwarf2-frame.h: Update copyright.
1547         (enum dwarf2_frame_reg_rule): New.
1548         (struct dwarf2_frame_state_reg): New.
1549         (dwarf2_frame_sniffer, dwarf2_frame_base_sniffer): Make extern.
1550         * dwarf2-frame.c: Update copyright.
1551         (enum dwarf2_reg_rule): Remove.
1552         (struct dwarf2_frame_state): Remove defenition of `struct
1553         dwarf2_frame_state_reg'.
1554         (read_reg): Call get_frame_arch to get the architecture instead of
1555         using CURRENT_GDBARCH.
1556         (execute_cfa_program): Prefix old `enum dwarf2_reg_rule' tags with
1557         DWARF2_FRAME_.
1558         (dwarf2_frame_init_reg): New function.
1559         (dwarf2_frame_cache): Call get_frame_arch to get the architecture
1560         instead of using CURRENT_GDBARCH.  Call dwarf2_frame_init_reg to
1561         initialize the register state.  Prefix old `enum dwarf2_reg_rule'
1562         tags with DWARF2_FRAME_.
1563         (dwarf2_frame_prev_register): Call get_frame_arch to get the
1564         architecture instead of using CURRENT_GDBARCH.  Prefix old `enum
1565         dwarf2_reg_rule' tags with DWARF2_FRAME_.
1566
1567 2004-02-06  Andrew Cagney  <cagney@redhat.com>
1568
1569         * tui/tui-data.h (struct tui_list): Rename _TuiList.
1570         (enum tui_data_type): Rename _TuiDataType.
1571         (struct tui_layout_def): Rename _TuiLayoutDef.
1572         (struct tui_source_element): Rename _TuiSourceElement.
1573         (struct tui_data_element): Rename _TuiDataElement.
1574         (struct tui_command_element): Rename _TuiCommandElement.
1575         (struct tui_locator_element): Rename _TuiLocatorElement.
1576         (union tui_which_element): Define.
1577         (struct tui_win_element): Rename _TuiWinElement.
1578         (struct tui_data_info): Rename _TuiDataInfo.
1579         (struct tui_source_info): Rename _TuiSourceInfo.
1580         (struct tui_command_info): Rename _TuiCommandInfo.
1581         (tui_initialize_static_data): Rename initializeStaticData.
1582         (tui_alloc_generic_win_info): Rename allocGenericWinInfo.
1583         (tui_alloc_win_info): Rename allocWinInfo.
1584         (tui_init_generic_part): Rename initGenericPart.
1585         (tui_init_win_info): Rename initWinInfo.
1586         (tui_alloc_content): Rename allocContent.
1587         (tui_add_content_elements): Rename addContentElements.
1588         (tui_init_content_element): Rename initContentElement.
1589         (tui_free_window): Rename freeWindow.
1590         (tui_free_win_content): Rename freeWinContent.
1591         (tui_free_data_content): Rename freeDataContent.
1592         (tui_free_all_source_wins_content): Rename
1593         freeAllSourceWinsContent.
1594         (tui_del_window): Rename tuiDelWindow.
1595         (tui_del_data_windows): Rename tuiDelDataWindows.
1596         (tui_partial_win_by_name): Rename partialWinByName.
1597         (tui_win_name): Rename winName.
1598         (tui_current_layout): Rename currentLayout.
1599         (tui_set_current_layout_to): Rename setCurrentLayoutTo.
1600         (tui_term_height): Rename termHeight.
1601         (tui_set_term_height_to): Rename setTermHeightTo.
1602         (tui_term_width): Rename termWidth.
1603         (tui_set_term_width_to): Rename setTermWidthTo.
1604         (tui_set_gen_win_origin): Rename setGenWinOrigin.
1605         (tui_locator_win_info_ptr): Rename locatorWinInfoPtr.
1606         (tui_source_exec_info_win_ptr): Rename tui_gen_win_info.
1607         (tui_disassem_exec_info_win_ptr): Rename disassemExecInfoWinPtr.
1608         (tui_source_windows): Rename sourceWindows.
1609         (tui_clear_source_windows): Rename clearSourceWindows.
1610         (tui_clear_source_windows_detail): Rename
1611         clearSourceWindowsDetail.
1612         (tui_clear_win_detail): Rename clearWinDetail.
1613         (tui_add_to_source_windows): Rename tuiAddToSourceWindows.
1614         (tui_default_tab_len): Rename tuiDefaultTabLen.
1615         (tui_set_default_tab_len): Rename tuiSetDefaultTabLen.
1616         (tui_win_with_focus): Rename tuiWinWithFocus.
1617         (tui_set_win_with_focus): Rename tuiSetWinWithFocus.
1618         (tui_layout_def): Rename tuiLayoutDef.
1619         (tui_win_resized): Rename tuiWinResized.
1620         (tui_set_win_resized_to): Rename tuiSetWinResizedTo.
1621         (tui_next_win): Rename tuiNextWin.
1622         (tui_prev_win): Rename tuiPrevWin.
1623         (tui_add_to_source_windows): Rename addToSourceWindows.
1624         * tui/tui-winsource.c, tui/tui-win.c: Update references.
1625         * tui/tui-layout.c, tui/tui-source.c: Ditto.
1626         * tui/tui-stack.c, tui/tui-io.c: Ditto.
1627         * tui/tui.c, tui/tui-data.c: Ditto.
1628         * tui/tui-interp.c, tui/tui-data.c: Ditto.
1629         * tui/tui-disasm.c, tui/tui-command.c: Ditto.
1630
1631         * tui/tui-source.h: Update copyright.  Include "tui-data.h".
1632         (struct symtab): Declare.
1633         (tui_set_source_content): Rename tuiSetSourceContent.
1634         (tui_show_symtab_source): Rename tuiShowSource.
1635         (tui_source_is_displayed): Rename tuiSourceIsDisplayed.
1636         (tui_vertical_source_scroll): Rename tuiVerticalSourceScroll.
1637         * tui/tui-source.c: Update copyright.  Update references.
1638         * tui/tui-win.c, tui/tui-winsource.c: Update references.
1639         * tui/tui-stack.c: Update references.
1640
1641         * tui/tui-win.h: Update copyright.  Include "tui-data.h".
1642         (struct tui_win_info): Declare.
1643         (tui_scroll_forward): Rename tuiScrollForward.
1644         (tui_scroll_backward): Rename tuiScrollBackward.
1645         (tui_scroll_left): Rename tuiScrollLeft.
1646         (tui_scroll_right): Rename tuiScrollRight.
1647         (tui_set_win_focus_to): Rename tuiSetWinFocusTo.
1648         (tui_resize_all): Rename tuiResizeAll.
1649         (tui_refresh_all_win): Rename tuiRefreshAll.
1650         (tui_sigwinch_handler): Rename tuiSigwinchHandler.
1651         * tui/tui-layout.c, * tui/tui-io.c: Update references.
1652         * tui/tui-wingeneral.h, * tui/tui.c: Update references.
1653         * tui/tui-disasm.c, * tui/tui-command.c: Update references.
1654
1655         * tui/tui-windata.h: Update copyright.  Include "tui-data.h".
1656         (tui_erase_data_content): Rename tuiEraseDataContent.
1657         (tui_display_all_data): Rename tuiDisplayAllData.
1658         (tui_check_data_values): Rename tuiCheckDataValues.
1659         (tui_display_data_from_line): Rename tuiDisplayDataFromLine.
1660         (tui_first_data_item_displayed): Rename tuiFirstDataItemDisplayed.
1661         (tui_first_data_element_no_in_line): Rename
1662         tuiFirstDataElementNoInLine.
1663         (tui_delete_data_content_windows): Rename
1664         tuiDeleteDataContentWindows.
1665         (tui_refresh_data_win): Rename tuiRefreshDataWin.
1666         (tui_display_data_from): Rename tuiDisplayDataFrom.
1667         (tui_vertical_data_scroll): Rename tuiVerticalDataScroll.
1668         * tui/tui-windata.c, tui/tui-hooks.c: Update references.
1669         * tui/tui-win.c, tui/tui-regs.c: Update references.
1670         * tui/tui-layout.c, tui/tui.c: Update references.
1671
1672         * tui/tui-wingeneral.h: Update copyright.
1673         (m_allBeVisible): Delete macro.
1674         (m_allBeInvisible): Delete macro.
1675         (struct tui_gen_win_info): Declare.
1676         (struct tui_win_info): Declare.
1677         (tui_unhighlight_win): Rename unhighlightWin.
1678         (tui_make_visible, tui_make_invisible): Replace makeVisible.
1679         (tui_make_all_visible, tui_make_all_invisible): Replace makeAllVisible.
1680         (tui_make_window): Rename makeWindow.
1681         (tui_copy_win): Rename copyWin.
1682         (tui_box_win): Rename boxWin.
1683         (tui_highlight_win): Rename highlightWin.
1684         (tui_check_and_display_highlight_if_needed): Rename
1685         checkAndDisplayHighlightIfNeeded.
1686         (tui_refresh_all): Rename refreshAll.
1687         (tui_delete_win): Rename tuiDelwin.
1688         (tui_refresh_win): Rename tuiRefreshWin.
1689         * tui/tui-wingeneral.c (make_visible): Rename makeVisible.
1690         (tui_make_visible, tui_make_invisible): New functions.
1691         (tui_make_all_visible, tui_make_all_invisible): New functions.
1692         (make_all_visible): Rename makeAllVisible.
1693         * tui/tui-winsource.c, tui/tui-windata.c: Update references.
1694         * tui/tui-data.c, tui/tui-winsource.c: Update references.
1695         * tui/tui-windata.c, tui/tui-win.c: Update references.
1696         * tui/tui-regs.c, tui/tui-layout.c: Update references.
1697         * tui/tui-data.h (struct tui_gen_win_info): Rename _TuiGenWinInfo.
1698
1699 2004-02-06  Mark Kettenis  <kettenis@gnu.org>
1700
1701         * proc-api.c (write_with_trace): Initialize local variable to
1702         silence compiler warning.
1703
1704 2004-02-06  Andrew Cagney  <cagney@redhat.com>
1705
1706         * tui/tui-source.h: Do not include "defs.h".
1707         (struct tui_win_info): Declare.
1708         (tui_set_source_content_nil): Declare.
1709         * tui/tui-data.h (struct tui_win_info): Rename _TuiWinInfo.
1710         (union tui_line_or_address): Rename _TuiLineOrAddress.
1711         * tui/tui-winsource.h: Update copyright.  Include "tui-data.h".
1712         (tui_update_source_window): Rename tuiUpdateSourceWindow.
1713         (tui_update_source_window_as_is): Rename
1714         tuiUpdateSourceWindowAsIs.
1715         (tui_update_source_windows_with_addr): Rename
1716         tuiUpdateSourceWindowsWithAddr.
1717         (tui_update_source_windows_with_line): Rename
1718         tuiUpdateSourceWindowsWithLine.
1719         (tui_clear_source_content): Rename tuiClearSourceContent.
1720         (tui_erase_source_content): Rename tuiEraseSourceContent.
1721         (tui_set_source_content_nil): Rename tuiSetSourceContentNil.
1722         (tui_show_source_content): Rename tuiShowSourceContent.
1723         (tui_horizontal_source_scroll): Rename tuiHorizontalSourceScroll.
1724         (tui_set_exec_info_content): Rename tuiSetExecInfoContent.
1725         (tui_show_exec_info_content): Rename tuiShowExecInfoContent.
1726         (tui_erase_exec_info_content): Rename tuiEraseExecInfoContent.
1727         (tui_clear_exec_info_content): Rename tuiClearExecInfoContent.
1728         (tui_update_exec_info): Rename tuiUpdateExecInfo.
1729         (tui_set_is_exec_point_at): Rename tuiSetIsExecPointAt.
1730         (tui_alloc_source_buffer): Rename tuiAllocSourceBuffer.
1731         (tui_line_is_displayed): Rename tuiLineIsDisplayed.
1732         (tui_addr_is_displayed): Rename tuiAddrIsDisplayed.
1733         (struct tui_win_info): Declare.
1734         * tui/tui-stack.c: Update references.
1735         * tui/tui-layout.c, tui/tui-winsource.c: Ditto.
1736         * tui/tui-win.c, tui/tui-source.c: Ditto.
1737         * tui/tui.c, tui/tui-disasm.c: Ditto.
1738
1739 2004-02-06  Mark Kettenis  <kettenis@gnu.org>
1740
1741         * i386-linux-tdep.c (i386_linux_sigcontext_addr): Fix calculation
1742         of UCONTEXT_ADDR.  Fixes PR backtrace/1545.
1743
1744 2004-02-05  Mark Kettenis  <kettenis@gnu.org>
1745
1746         * infrun.c (handle_inferior_event): Allow for breakpoint
1747         instructions to generate a SIGSEGV in addition to SIGTRAP, SIGILL
1748         and SIGEMT.  Update comments.
1749         * NEWS (Revised SPARC target): Mention support for non-executable
1750         stack.
1751
1752 2004-02-04  Mark Kettenis  <kettenis@gnu.org>
1753
1754         * target.h (target_object): Add TARGET_OBJECT_WCOOKIE.
1755         * inftarg.c: Update copyright year.
1756         (child_xfer_partial): Add support for TARGET_OBJECT_WCOOKIE.
1757         * sparc-nat.c: Include "target.h" and "gdb_assert.h".
1758         (sparc_xfer_wcookie): New function.
1759         * sparc-tdep.c (sparc_fetch_wcookie): New function.
1760         * Makefile.in (sparc-nat.o): Update dependencies.
1761         * config/sparc/nm-nbsd.h: Include "target.h".
1762         (NATIVE_XFER_WCOOKIE): New define.
1763         (sparc_xfer_wcookie): New prototype.
1764
1765 2004-02-04  Andrew Cagney  <cagney@redhat.com>
1766
1767         * m68k-tdep.c (m68k_saved_pc_after_call): Delete #ifdef
1768         SYSCALL_TRAP function.
1769         (m68k_gdbarch_init): Delete #ifdef SYSCALL_TRAP code.
1770
1771 2004-02-04  Andrew Cagney  <cagney@redhat.com>
1772             Daniel Jacobowitz  <drow@mvista.com>
1773
1774         * objfiles.h: Delete comments refering to inside_entry_func and
1775         DEPRECATED_FRAME_CHAIN_VALID.
1776         * defs.h (inside_entry_func): Update prototype..
1777         * blockframe.c (inside_entry_func): Rename to
1778         legacy_inside_entry_func.  Add new inside_entry_func taking a frame.
1779         * frame.c (get_prev_frame): Pass the frame to inside_entry_func.
1780
1781 2004-02-03  Jeff Johnston  <jjohnstn@redhat.com>
1782
1783         * breakpoint.c (struct captured_parse_breakpoint_args):  Move
1784         outside of #ifdef SOLIB_ADD region.
1785         (do_restore_lang_radix_cleanup): Ditto.
1786         (resolve_pending_breakpoint): Ditto.
1787
1788 2004-02-03  Andrew Cagney  <cagney@redhat.com>
1789
1790         * ia64-tdep.c (read_sigcontext_register): Delete unused function.
1791         (process_note_abi_tag_sections): Delete unused function.
1792         (ia64_read_fp): Delete unused function.
1793         (gdbarch_extract_struct_value_address): Delete declaration.
1794
1795 2004-02-02  Andrew Cagney  <cagney@redhat.com>
1796
1797         * vax-tdep.c (vax_frame_chain): Delete call to
1798         deprecated_inside_entry_file.
1799         * ns32k-tdep.c (ns32k_frame_chain): Ditto.
1800
1801 2004-02-02  Mark Kettenis  <kettenis@gnu.org>
1802
1803         * dwarf2-frame.c (dwarf2_frame_cache): Deal with a return address
1804         column that's "empty" or "same value" when eliminating REG_RA
1805         rules.
1806
1807 2004-02-02  Jeff Johnston  <jjohnstn@redhat.com>
1808
1809         * NEWS: Add information about new pending breakpoint support.
1810
1811 2004-02-02  Jeff Johnston  <jjohnstn@redhat.com>
1812
1813         * breakpoint.h (struct breakpoint): Add new flag, from_tty,
1814         and pending fields for pending breakpoint support.
1815         * breakpoint.c (breakpoint_enabled): Add check for not pending.
1816         (condition_command): Only parse condition if not a pending
1817         breakpoint.
1818         (print_one_breakpoint): Add support for pending breakpoints.
1819         (describe_other_breakpoints): Add checks to verify we are not
1820         dealing with pending breakpoints.
1821         (check_duplicates): Don't check pending breakpoints.
1822         (set_raw_breakpoint): Initialize pending flag.
1823         (do_restore_lang_radix_cleanup): New cleanup routine.
1824         (resolve_pending_breakpoint): New function.
1825         (re_enable_breakpoints_in_shlibs): Try and resolve any
1826         pending breakpoints via resolve_pending_breakpoint.
1827         (mention): Add pending breakpoint support.
1828         (parse_breakpoint_sals): Add new parameter to pass to
1829         decode_line_1 to indicate silent errors when files or functions
1830         are not found.  Change all callers.
1831         (do_captured_parse_breakpoint): New function.
1832         (break_command_1): Change prototype to return an rc value and to
1833         take an optional pending breakpoint pointer.  Support creating
1834         a pending breakpoint if a "not found" form of error occurs when
1835         parsing the breakpoint.  Also support resolving an existing pending
1836         breakpoint and be silent if the resolution fails.
1837         (create_breakpoints): Change prototype to take pending breakpoint
1838         pointer.  When resolving a pending breakpoint, use the new pointer
1839         to provide a conditional or commands added by the end-user.
1840         (delete_breakpoint): Add appropriate check for pending.
1841         (breakpoint_re_set_one): Ditto.
1842         (do_enable_breakpoint): Ditto.
1843
1844 2004-02-02  David Carlton  <carlton@kealia.com>
1845
1846         * valops.c (enum oload_classification): New.
1847         (find_overload_match): Break implementation into separate
1848         functions; delete #if 0'd code; look for symbols within
1849         namespaces.
1850         (find_oload_champ_namespace,find_oload_champ_namespace_loop)
1851         (find_oload_champ,oload_method_static,classify_oload_match): New.
1852         * cp-support.h: Add declaration for cp_func_name; update
1853         declaration for make_symbol_overload_list.
1854         * cp-support.c (cp_func_name): New.
1855         (overload_list_add_symbol): Fix comment, use
1856         SYMBOL_LINKAGE_NAME and SYMBOL_NATURAL_NAME.
1857         (make_symbol_overload_list): Take a function name and a namespace
1858         instead of a symbol; change implementation.
1859         (make_symbol_overload_list_using): New.
1860         (make_symbol_overload_list_qualified, read_in_psymtabs): New.
1861
1862 2004-02-02  Fred Fish  <fnf@redhat.com>
1863
1864         * main.c (gdb_stdtarg): Move definition to group with other
1865         gdb_stdtarg definitions and update copyright years.
1866         * remote-sim.c (gdb_os_write_stderr): Write output to
1867         gdb_stdtargerr stream instead of gdb_stdtarg stream.
1868         (gdb_os_flush_stderr): Flush gdb_stdtargerr steam instead of
1869         gdb_stderr stream and update copyright years.
1870
1871 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
1872
1873         * Makefile.in (mips-linux-nat.o): Update dependencies.
1874         * mips-linux-nat.c: Include mips-tdep.h.
1875
1876 2004-02-01  Roland McGrath  <roland@redhat.com>
1877
1878         * sol-thread.c (sol_thread_xfer_partial): New function.
1879         (init_sol_thread_ops): Use that for to_xfer_partial hook.
1880         (init_sol_core_ops): Likewise.
1881
1882         * procfs.c (procfs_xfer_partial): New function.
1883         (init_procfs_ops): Use that for procfs_ops.to_xfer_partial.
1884         * Makefile.in (procfs.o): Add $(auxv_h) dep.
1885
1886         * config/nm-linux.h (NATIVE_XFER_AUXV): New macro, uses auxv.c's
1887         procfs_xfer_auxv function.
1888
1889         * procfs.c (procfs_make_note_section): If we can read
1890         TARGET_OBJECT_AUXV data, add an NT_AUXV note containing it.
1891         * linux-proc.c (linux_make_note_section): Likewise.
1892
1893         * auxv.h: New file.
1894         * auxv.c: New file.
1895         * Makefile.in (auxv_h): New variable.
1896         (COMMON_OBS): Add auxv.o here.
1897         (auxv.o): New target.
1898
1899         * corelow.c (core_xfer_partial): New function.
1900         (init_core_ops): Use it for core_ops.to_xfer_partial.
1901
1902         * target.h (enum target_object): Add TARGET_OBJECT_AUXV.
1903         * inftarg.c (child_xfer_partial): Support it using NATIVE_XFER_AUXV
1904         macro if that is defined.
1905
1906 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
1907
1908         * breakpoint.c (bpstat_stop_status): Take a ptid_t argument,
1909         and check the specified thread for each breakpoint.
1910         * breakpoint.h (bpstat_stop_status): Update prototype.
1911         * infrun.c (handle_inferior_event): Update calls to
1912         bpstat_stop_status.
1913
1914 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
1915
1916         * Makefile.in (cli-cmds.o): Add $(readline_h).
1917
1918 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
1919
1920         * cli/cli-cmds.c: Include readline.h.
1921         (complete_command): Pass the start of the last word to
1922         complete_line.
1923
1924 2004-01-31  Daniel Jacobowitz  <drow@mvista.com>
1925
1926         * breakpoint.c (bpstat_stop_status): Remove not_a_sw_breakpoint
1927         argument, and change first argument to a CORE_ADDR.
1928         * breakpoint.h (bpstat_stop_status): Update prototype.
1929         * infrun.c (adjust_pc_after_break): Add a new comment.
1930         (handle_inferior_event): Update calls to bpstat_stop_status.
1931
1932 2004-01-31  Daniel Jacobowitz  <drow@mvista.com>
1933
1934         * breakpoint.h: Update copyright years.
1935
1936 2004-01-31  Daniel Jacobowitz  <drow@mvista.com>
1937
1938         * breakpoint.c (software_breakpoint_inserted_here_p): New function.
1939         (bpstat_stop_status): Don't decrement PC.
1940         * breakpoint.h (software_breakpoint_inserted_here_p): Add
1941         prototype.
1942         * infrun.c (adjust_pc_after_break): New function.
1943         (handle_inferior_event): Call it, early.  Remove later references
1944         to DECR_PC_AFTER_BREAK.
1945         (normal_stop): Add commentary.
1946
1947 2004-01-31  Daniel Jacobowitz  <drow@mvista.com>
1948
1949         * breakpoint.c (breakpoint_re_set_one): Add missing chunk of
1950         2004-01-27 double-free fix.
1951
1952 2004-01-31  Mark Kettenis  <kettenis@gnu.org>
1953
1954         * sparc-tdep.c (sparc_fetch_wcookie): New function.
1955         (sparc32_frame_prev_register): Handle StackGhost.
1956         (sparc_supply_rwindow, sparc_collect_rwindow): Likewise.
1957
1958 2004-01-29  Roland McGrath  <roland@redhat.com>
1959
1960         * configure.in (NEW_PROC_API): Also match solaris2.9 for this test.
1961         * configure: Regenerated.
1962
1963         * procfs.c: Include gdb_string.h for str* decls, otherwise warnings.
1964         * Makefile.in (procfs.o): Add dep.
1965
1966 2004-01-28  Andrew Cagney  <cagney@redhat.com>
1967
1968         * tui/tui-stack.h: Update copyright.
1969         (struct frame_info): Add opaque declaration.
1970         (tui_update_locator_filename): Rename tuiUpdateLocatorFilename.
1971         (tui_show_locator_content): Rename tuiShowLocatorContent.
1972         (tui_show_frame_info): Rename tuiShowFrameInfo.
1973         * tui/tui-stack.c: Update copyright.  Update references.
1974         * tui/tui-winsource.c: Update references.
1975         * tui/tui-win.c: Update references.
1976         * tui/tui-layout.c: Update references.
1977         * tui/tui-hooks.c: Update copyright, update references.
1978         * tui/tui.c: Update copyright, update references.
1979         * tui/tui-disasm.c: Update references.
1980
1981 2004-01-28  David Carlton  <carlton@kealia.com>
1982
1983         * dwarf2read.c (add_partial_structure): Use demangled name if
1984         namespace equals "".
1985
1986 2004-01-27  Jim Blandy  <jimb@redhat.com>
1987
1988         Clean up misapplied patch:
1989         * dwarf2read.c (determine_prefix): Change one of the two forward
1990         declarations for 'determine_prefix_aux' to a declaration for this.
1991         (read_func_scope): Use cu->language, not cu_language.  Pass 'cu'
1992         argument to 'die_specification'.
1993
1994         * dwarf2read.c (read_func_scope): Re-indent comment.
1995
1996 2004-01-27  Paul N. Hilfinger  <hilfinger@gnat.com>
1997
1998         * breakpoint.c (breakpoint_re_set_one): Set b->cond, b->val, and
1999         b->exp to NULL after freeing so that error during re-parsing or
2000         evaluation of expressions associated with breakpoint don't
2001         eventually lead to re-freeing of storage.
2002         Committed by Andrew Cagney.
2003
2004 2004-01-27  Andrew Cagney  <cagney@redhat.com>
2005
2006         * source.c (ambiguous_line_spec): Delete undefined declaration.
2007         * m32r-rom.c (m32r_set_board_address): Delete unused function.
2008         (m32r_set_server_address, m32r_set_download_path): Ditto.
2009         * remote-fileio.c (remote_fileio_to_fio_int): Ditto.
2010
2011 2004-01-27  Daniel Jacobowitz  <drow@mvista.com>
2012
2013         * dwarf2read.c: Update calls to changed and renamed functions, and
2014         references to moved variables.
2015
2016         (struct dwarf2_cu): Add first_fn, last_fn, cached_fn,
2017         language, language_defn, list_in_scope, and ftypes members.
2018         (cu_first_fn, cu_last_fn, cu_cached_fn, cu_language)
2019         (cu_language_defn, list_in_scope, ftypes, cu_header_offset)
2020         (baseaddr): Remove globals.
2021
2022         (dwarf_attr): Renamed to dwarf2_attr.  Add CU argument.
2023         (set_cu_language, die_is_declaration, die_specification)
2024         (determine_prefix, determin_prefix_aux, class_name, namespace_name)
2025         (dwarf2_linkage_name, dwarf2_name, dwarf2_extension)
2026         (dwarf2_get_ref_die_offset, dwarf2_fundamental_type)
2027         (initialize_cu_func_list, add_to_cu_func_list): Add CU argument.
2028
2029         (dwarf2_build_psymtabs_hard): Add local baseaddr.  Initialize
2030         cu.list_in_scope.  Don't initialize cu_header_offset.
2031         (add_partial_symbol): Add local baseaddr.
2032         (psymtab_to_symtab_1): Add local baseaddr.  Use
2033         objfile->section_offsets for consistency.  Don't initialize
2034         cu_header_offset; do initialize cu.header.offset and
2035         cu.list_in_scope.
2036         (read_file_scope, read_func_scope, read_lexical_block_scope)
2037         (dwarf_decode_lines, new_symbol): Add local baseaddr.
2038
2039 2004-01-27  Michael Chastain  <mec.gnu@mindspring.com>
2040
2041         * PROBLEMS: Add gdb/1516.
2042
2043 2003-12-29  Robert Millan  <robertmh@gnu.org>
2044
2045         Patch committed by Andrw Cagney.
2046         * configure.host: Match knetbsd*-gnu and kfreebsd*-gnu.
2047         * configure.tgt: Match knetbsd*-gnu.
2048
2049 2004-01-26  Andrew Cagney  <cagney@redhat.com>
2050
2051         * breakpoint.c (catch_command_1): Delete #ifdef code.
2052         (catch_fork_command_1): Delete #ifdef wrapper.
2053         (catch_exec_command_1): Ditto.
2054         (catch_load_command_1): Ditto.
2055         (catch_unload_command_1): Ditto.
2056
2057         * breakpoint.c (watchpoint_check): Delete #if0ed variable.
2058         (catch_breakpoint): Delete #if0ed function.
2059         (disable_catch_breakpoint): Ditto.
2060         (delete_catch_breakpoint, enable_catch_breakpoint): Ditto.
2061         (disable_catch, enable_catch, delete_catch): Ditto.
2062
2063 2004-01-26  Andrew Cagney  <cagney@redhat.com>
2064
2065         * remote.c (echo_check, quit_flag): Delete variables.
2066         (cisco_kernel_mode): Delete variable.
2067         (minitelnet_return, tty_input, escape_count): Delete variables.
2068         (remote_cisco_mode): Delete variable.
2069         (remote_cisco_open, remote_cisco_close): Delete function.
2070         (remote_cisco_mourn, remote_cisco_wait): Delete function.
2071         (init_remote_cisco_ops): Delete function.
2072         (_initialize_remote): Do not install "remote cisco" code.
2073         (read_frame): Delete cisco specific code.
2074         (remote_info_process): Delete function.
2075         (remote_wait): Delete cisco specific code.
2076         (remote_cisco_section_offsets): Delete function.
2077         (remote_cisco_objfile_relocate): Delete function.
2078         (remote_async_wait): Delete cisco specific code.
2079         (minitelnet, readtty, readsocket): Delete function.
2080
2081 2004-01-26  Andrew Cagney  <cagney@redhat.com>
2082
2083         * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS): Deprecate.  Add
2084         comments mentioning extract_returned_value_address.
2085         * infcmd.c (print_return_value): Update.  Add comments on
2086         extract_returned_value_address.
2087         * stack.c (return_command): Add comments on
2088         extract_returned_value_address.
2089         * values.c: Update comment.
2090         * m32r-tdep.c: Update comment.
2091         * sparc-tdep.c: Update comment.
2092         * ia64-tdep.c (ia64_use_struct_convention): Update comment.
2093         * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
2094         * sh64-tdep.c (sh64_gdbarch_init): Update.
2095         * sh-tdep.c (sh_gdbarch_init): Update.
2096         * s390-tdep.c (s390_gdbarch_init): Update.
2097         * rs6000-tdep.c (rs6000_gdbarch_init): Update.
2098         * m68klinux-tdep.c (m68k_linux_init_abi): Update.
2099         * m68k-tdep.c (m68k_gdbarch_init): Update.
2100         * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
2101         * m32r-tdep.c (m32r_gdbarch_init): Update.
2102         * ia64-tdep.c (ia64_gdbarch_init): Update.
2103         * h8300-tdep.c (h8300_gdbarch_init): Update.
2104         * frv-tdep.c (frv_gdbarch_init): Update.
2105         * arm-tdep.c (arm_gdbarch_init): Update.
2106         * alpha-tdep.c (alpha_gdbarch_init): Update.
2107
2108 2004-01-26  Andrew Cagney  <cagney@redhat.com>
2109
2110         * dwarf2loc.c (dwarf_expr_frame_base): Use SYMBOL_OPS instead of
2111         SYMBOL_LOCATION_FUNCS
2112         (dwarf2_loclist_funcs, dwarf2_locexpr_funcs): Change type to
2113         "struct symbol_ops".
2114         * dwarf2loc.h (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Change
2115         type to "struct symbol_ops".
2116         * symtab.h (struct symbol_ops): Rename "struct location_funcs".
2117         (struct symbol): Replace ".aux_value.loc.funcs" and
2118         ".aux_value.loc.baton" with ".ops" and ".aux_value.ptr".
2119         (SYMBOL_OBJFILE): Delete macro.
2120         (SYMBOL_LOCATION_FUNCS): Delete macro.
2121         (SYMBOL_LOCATION_BATON): Update.
2122         * dwarf2read.c (dwarf2_symbol_mark_computed): Set SYMBOL_OPS
2123         intead of SYMBOL_LOCATION_FUNCS.
2124         * ax-gdb.c (gen_var_ref): Ditto.
2125         * printcmd.c (address_info): Ditto.
2126         * findvar.c (read_var_value): Ditto.
2127         (symbol_read_needs_frame): Ditto.
2128
2129 2004-01-26  Andrew Cagney  <cagney@redhat.com>
2130
2131         * dwarf2read.c (read_func_scope): Document frame-base hack.
2132
2133 2004-01-25  Mark Kettenis  <kettenis@gnu.org>
2134
2135         * infcmd.c (print_return_value): Plug memory leak; delete
2136         ui_stream object.  Rename argument `structure_return' to
2137         `struct_return'.
2138
2139 2004-01-25  Mark Kettenis  <kettenis@gnu.org>
2140
2141         * infcmd.c (print_return_value): Wrap long lines.
2142         (finish_command_continuation, finish_command): Remove unused
2143         variable `funcaddr'.  Fix some coding-standards problems.
2144
2145         * sparc-tdep.c (sparc_regset_from_core_section): Check whether
2146         SECT_SIZE is large enough, not wheter it's exactly the right size.
2147         (sparc32_gdbarch_init): Initialize TDEP->sizeof_gregset and
2148         TDEP->fpregset to zero.
2149
2150         * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Also supply the
2151         floating-point registers for traditional NetBSD core files.
2152         (sparc32nbsd_init_abi): Initialize TDEP->sizeof_gregset and
2153         TDEP->sizeof_fpregset here.
2154
2155 2004-01-25  Mark Kettenis  <kettenis@gnu.org>
2156
2157         * sparc-tdep.h (sparc32nbsd_sigcontext_saved_regs): New prototype.
2158         * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): New
2159         function with code split out from
2160         sparc32nbsd_sigcontext_frame_cache.
2161         (sparc32nbsd_sigcontext_frame_cache): Use
2162         sparc32nbsd_sigcontext_saved_regs.
2163         (_initialize_sparc32nbsd_tdep): Don't register OS ABI handler for
2164         OpenBSD.
2165         * sparcobsd-tdep.c: New file.
2166         * Makefile.in (ALLDEPFILES): Add sparcobsd-tdep.c.
2167         (sparcobsd-tdep.o): New dependency.
2168         * configure.tgt (sparc-*-openbsd*): Set gdb_target to obsd.
2169         * config/sparc/obsd.mt: New file.
2170
2171         * sparc-tdep.c (sparc32_gdbarch_init): Don't require
2172         TDEP->fpregset to be initialized to enable core file register
2173         sets.
2174
2175 2004-01-24  Mark Kettenis  <kettenis@gnu.org>
2176
2177         * sparc64-tdep.h (struct frame_info, struct trad_frame_saved_reg):
2178         Add opaque declarations.
2179         (sparc64nbsd_sigcontext_saved_regs): New prototype.
2180         * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): New
2181         function with code split out from
2182         sparc64nbsd_sigcontext_frame_cache.
2183         (sparc64nbsd_sigcontext_frame_cache): Use
2184         sparc64nbsd_sigcontext_saved_regs.
2185         (_initialize_sparc64nbsd_tdep): Don't register OS ABI handler for
2186         OpenBSD.
2187         * sparc64obsd-tdep.c: New file.
2188         * Makefile.in (ALLDEPFILES): Add sparc64obsd-tdep.c.
2189         (sparc64obsd-tdep.o): New dependency.
2190         * configure.tgt (sparc64-*-openbsd*): Set gdb_target to obsd64 and
2191         gdb_osabi to GDB_OSABI_OPENBSD_ELF.
2192         * config/sparc/obsd64.mt: New file.
2193
2194         * sparc-tdep.c (sparc_fetch_instruction): Return zero if we can't
2195         read the instruction at PC.
2196
2197         * sparcnbsd-tdep.c (GDB_OSABI_NETBSD_CORE): Define, based on the
2198         value of GDB_OSABI_DEFAULT.
2199         (sparcnbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_CORE
2200         instead of GDB_OSABI_NETBSD_AOUT.
2201
2202 2004-01-24  Nick Roberts  <nick@nick.uklinux.net>
2203
2204         * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-cmds.h: Update
2205         copyright.
2206
2207 2004-01-23  Andrew Cagney  <cagney@redhat.com>
2208
2209         * printcmd.c (display_command): Replace tui_set_display call with
2210         tui_set_layout_for_display_command.
2211         * tui/tui.h (enum tui_win_type): Define.
2212         (tui_set_layout): Delete declaration.
2213         (tui_set_layout_for_display_command): Rename set_tui_layout.
2214         * tui/tui-data.h (enum tui_layout_type): Define.
2215         * tui/tui-layout.h: Update copyright.  Include "tui-data.h" and
2216         "tui.h".
2217         (tui_add_win_to_layout): Rename tuiAddWinToLayout.
2218         (tui_default_win_height): Rename tuiDefaultWinHeight.
2219         (tui_default_win_viewport_height): Rename
2220         tuiDefaultWinViewportHeight.
2221         (tui_set_layout): RenametuiSetLayout.
2222         * tui/tui-layout.c: Update references.
2223         * tui/tui.c: Update references.
2224         * tui/tui-disasm.c: Update references.
2225
2226 2004-01-23  David Carlton  <carlton@kealia.com>
2227
2228         Partial workaround for PR c++/1511:
2229         * cp-namespace.c: Include frame.h.
2230         (cp_lookup_transparent_type): New
2231         (cp_lookup_transparent_type_loop): New.
2232         * cp-support.h: Declare cp_lookup_transparent_type.
2233         * symtab.c (basic_lookup_transparent_type): Renamed from
2234         lookup_transparent_type.
2235         (lookup_transparent_type): Replace old body by a call to
2236         current_language->la_lookup_transparent_type.
2237         * symtab.h: Update copyright.  Declare
2238         basic_lookup_transparent_type.
2239         * language.h: Update copyright.
2240         (struct language_defn): Add la_lookup_transparent_type.
2241         * language.c: Update copyright.
2242         (unknown_language_defn): Add basic_lookup_transparent_type.
2243         (auto_language_defn): Add basic_lookup_transparent_type.
2244         (local_language_defn): Add basic_lookup_transparent_type.
2245         * ada-lang.c: Update copyright.
2246         (ada_language_defn): Add basic_lookup_transparent_type.
2247         * c-lang.c: Update copyright.
2248         (c_language_defn): Add basic_lookup_transparent_type.
2249         (cplus_language_defn): Add basic_lookup_transparent_type.
2250         (asm_language_defn): Add basic_lookup_transparent_type.
2251         (minimal_language_defn): Add basic_lookup_transparent_type.
2252         * f-lang.c: Update copyright.
2253         (f_language_defn): Add basic_lookup_transparent_type.
2254         * jv-lang.c: Update copyright.
2255         (java_language_defn): Add basic_lookup_transparent_type.
2256         * m2-lang.c: Update copyright.
2257         (m2_language_defn): Add basic_lookup_transparent_type.
2258         * objc-lang.c: Update copyright.
2259         (objc_language_defn): Add basic_lookup_transparent_type.
2260         * p-lang.c: Update copyright.
2261         (p_language_defn): Add basic_lookup_transparent_type.
2262         * scm-lang.c: Update copyright.
2263         (scm_language_defn): Add basic_lookup_transparent_type.
2264         * Makefile.in (cp-namespace.o): Depend on frame.h.
2265
2266 2004-01-23  David Carlton  <carlton@kealia.com>
2267
2268         Patch for PR c++/1520:
2269         * dwarf2read.c (read_func_scope): Set processing_current_prefix
2270         properly if we have a specification die.
2271         (determine_prefix_aux): Rename from determine_prefix.
2272         (determine_prefix): Like the old determine_prefix, but never
2273         returns NULL.
2274
2275 2004-01-23  Theodore A. Roth  <troth@openavr.org>
2276
2277         * avr-tdep.c: Update copyright.
2278         (avr_iaddr_p): Delete unused function.
2279         (avr_saddr_p): Delete unused function.
2280
2281 2004-01-23  David Carlton  <carlton@kealia.com>
2282
2283         * symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab.
2284         Fix for PR symtab/1534.
2285
2286 2004-01-23  Mark Kettenis  <kettenis@gnu.org>
2287
2288         * NEWS (New native configurations): Mention OpenBSD/sparc and
2289         OpenBSD/sparc64.
2290         * configure.tgt: Add sparc-*-openbsd* and sparc64-*-openbsd*.
2291         * configure.host: Likewise.
2292         * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Register OS ABI
2293         handler for OpenBSD.
2294         * sparc64nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Likewise.
2295
2296 2004-01-22  Mark Kettenis  <kettenis@gnu.org>
2297
2298         * sparcnbsd-tdep.c (sparcnbsd_core_osabi_sniffer): New function.
2299         (_initialize_sparnbsd_tdep): Register sparcnbsd_core_osabi_sniffer.
2300
2301         * ser-pipe.c (pipe_open): Use proper null pointer in execl call.
2302         * cli/cli-cmds.c (shell_escape): Likewise.
2303
2304         * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Recognize
2305         OpenBSD .note.openbsd.ident sections.
2306
2307 2004-01-22  David Carlton  <carlton@kealia.com>
2308
2309         * dwarf2read.c (psymtab_to_symtab_1): Calculate lowpc, highpc via
2310         get_scope_pc_bounds.
2311         (read_file_scope): Ditto.
2312         (get_scope_pc_bounds): New function, produced by extracting code
2313         from the above two functions, consolidating it, and adding support
2314         for DW_TAG_namespace.
2315
2316 2004-01-22  Mark Kettenis  <kettenis@gnu.org>
2317
2318         * osabi.c (MAX_NOTESZ): New define.
2319         (check_note): New function.
2320         (generic_elf_osabi_sniff_abi_tag_sections): Reorganize code using
2321         check_note.
2322
2323 2004-01-21  Roland McGrath  <roland@redhat.com>
2324
2325         * MAINTAINERS (write after approval): Add myself.
2326
2327 2004-01-21  Eli Zaretskii  <eliz@gnu.org>
2328
2329         * utils.c (init_page_info): Move declarations of `rows' and
2330         `cols' before the __GO32__-specific code.  Move the closing brace
2331         outside the #ifdef __GO32__..#endif block.
2332         [__GO32__]: Use `rows' and `cols' to avoid compiler warnings.
2333
2334 2004-01-21  Paul Brook  <paul@codesourcery.com>
2335
2336         * infrun.c (handle_inferior_event): Check stop_stack_dummy if handling
2337         BPSTAT_WHAT_CHECK_SHLIBS.
2338
2339 2004-01-21  Paul Brook  <paul@codesourcery.com>
2340
2341         * MAINTAINERS: Add myself to write-after-approval.
2342
2343 2004-01-20  Andrew Cagney  <cagney@redhat.com>
2344
2345         * ax-gdb.c (print_axs_value): Delete unused function.
2346         * jv-lang.c (java_lookup_type): Delete unused function.
2347         * cli/cli-dump.c (dump_filetype): Delete unused function.
2348         * remote-mips.c (remote_mips_insert_hw_breakpoint)
2349         (remote_mips_remove_hw_breakpoint): Delete unused functions.
2350         (mips_getstring): Delete unused function.
2351         (pmon_insert_breakpoint): Delete #if0ed function.
2352         (PMON_MAX_BP): Delete #if0ed MACRO.
2353         (mips_pmon_bp_info): Delete #if0ed variable.
2354         (pmon_remove_breakpoint): Delete #if0ed function.
2355         * monitor.c (monitor_write_even_block): Delete unused function.
2356         (monitor_write_memory_block): Delete #if0ed code.
2357         * dink32-rom.c (dink32_load): Delete unused function.
2358         (_initialize_dink32_rom): Delete #if0ed code.
2359         * d10v-tdep.c (d10v_daddr_p): Delete unused function.
2360
2361         * tui/tui-command.c: Update references.
2362         * tui/tui-io.c: Update references.
2363         * tui/tui-command.h: Update copyright.
2364         (tui_dispatch_ctrl_char): Rename tuiDispatchCtrlChar.
2365
2366         * source.c (ambiguous_line_spec): Delete never-defined function.
2367         * remote-rdi.c (arm_rdi_mourn, arm_rdi_send): Ditto.
2368         * gdbtypes.c (add_name, add_mangled_type): Ditto.
2369         * cli/cli-cmds.c (validate_comname): Ditto.
2370
2371         * tui/tui-disasm.h: Update copyright.  Include "tui.h" and
2372         "tui-data.h".
2373         (tui_set_disassem_content): Rename tuiSetDisassemContent.
2374         (tui_show_disassem): Rename tuiShowDisassem.
2375         (tui_show_disassem_and_update_source): Rename
2376         tuiVerticalDisassemScroll.
2377         (tui_vertical_disassem_scroll): Rename tuiVerticalDisassemScroll.
2378         (tui_get_begin_asm_address): Rename tuiGetBeginAsmAddress.
2379         * tui/tui.h: Update copyright.
2380         (enum tui_status): Define.
2381         * tui/tui-data.h (enum tui_scroll_direction): Define.
2382         * tui/tui-disasm.c: Update copyright.  Update references.
2383         * tui/tui-winsource.c:  Update copyright.  Update references.
2384         * tui/tui-win.c: Update references.
2385         * tui/tui-layout.c: Update references.
2386
2387 2004-01-20  Andrew Cagney  <cagney@redhat.com>
2388
2389         * mi/mi-cmd-stack.c (list_args_or_locals): Move declaration of
2390         sym2 to start of block.
2391
2392 2004-01-19  Michael Chastain  <mec.gnu@mindspring.com>
2393
2394         * MAINTAINERS: Delete mmalloc.
2395         * Makefile.in: Delete MMALLOC, MMALLOC_CFLAGS, -lmmalloc, mmalloc_h.
2396         * NEWS: Mention removal of --with-malloc.
2397         * acconfig.h: Delete USE_MMALLOC, MMCHECK_FORCE.
2398         * config.in: Regenerate.
2399         * configure: Regenerate.
2400         * configure.in: Delete MMALLOC_CFLAGS, MMALLOC, --with-mmalloc,
2401         USE_MMALLOC, MMCHECK_FORCE.
2402         * gdbinit.in: Remove mmalloc.
2403         * utils.c: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, malloc_botch.
2404         * config/alpha/alpha-linux.mh: Delete MMALLOC, MMALLOC_CFLAGS.
2405         * config/i386/go32.mh: Likewise.
2406         * config/i386/interix.mh: Likewise.
2407         * config/powerpc/xm-linux.h: Delete MMAP_BASE_ADDRESS, MMAP_INCREMENT.
2408
2409 2004-01-19  Jeff Johnston  <jjohnstn@redhat.com>
2410
2411         * linespec.c (decode_variable, symtab_from_filename):  Call
2412         error_silent with error message instead of throwing an exception
2413         directly.
2414         * defs.h (error_silent, error_output_message): Add prototypes.
2415         (catch_exceptions_with_msg): Ditto.
2416         * utils.c (error_silent, error_output_message): New functions.
2417         * top.c (catch_exceptions_with_msg): New function.
2418
2419 2004-01-20  Nick Roberts  <nick@nick.uklinux.net>
2420
2421         * mi/mi-cmds.h (enum print_values): Add definition.
2422
2423         * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Print the name,
2424         type and value for simple data types and just the name and type
2425         for complex ones, if required.
2426
2427         * mi/mi-cmd-var.c (mi_cmd_var_list_children): Print the values of the
2428         children, if required.
2429
2430 2004-01-19  Kevin Buettner  <kevinb@redhat.com>
2431
2432         * frv-tdep.c (frv_push_arguments, frv_saved_pc_after_call): Delete
2433         unused declarations.
2434
2435 2004-01-19  Andrew Cagney  <cagney@redhat.com>
2436
2437         * top.h (mapped_symbol_files): Delete declaration.
2438         * main.c (captured_main): Delete option "m" and "mapped".
2439         * objfiles.c (mapped_symbol_files): Delete variable.
2440         * symfile.c (symbol_file_command): Delete mmap code.
2441         (symbol_file_add_with_addrs_or_offsets): Ditto.
2442         (add_symbol_file_command, reread_separate_symbols): Ditto.
2443         * objfiles.h (OBJF_MAPPED): Delete.
2444         * objfiles.c (allocate_objfile) [USE_MMALLOC]: Delete.
2445         (free_objfile) [USE_MMALLOC]: Ditto.
2446         (open_existing_mapped_file): Delete function.
2447         (open_mapped_file): Delete function.
2448         (map_to_file): Delete function.
2449
2450 2004-01-19  Kevin Buettner  <kevinb@redhat.com>
2451
2452         * infrun.c (step_into_function): Account for possible breakpoint
2453         adjustment when computing ``stop_func_start''.
2454
2455 2004-01-19  Kevin Buettner  <kevinb@redhat.com>
2456
2457         * target.c (default_region_size_ok_for_hw_watchpoint): Compare
2458         the region size against the size of a pointer, not the size of
2459         a register as given by DEPRECATED_REGISTER_SIZE.
2460
2461 2004-01-19  Andrew Cagney  <cagney@redhat.com>
2462
2463         * tui/tui-regs.h: Include "tui-data.h".
2464         (tuiFirstRegElementNoInLine): Delete declaration.
2465         (tui_display_registers_from): Rename tuiDisplayRegistersFrom.
2466         (tui_last_regs_line_no): Rename tuiLastRegsLineNo.
2467         (tui_line_from_reg_element_no): Rename tuiLineFromRegElementNo.
2468         (tui_calculate_regs_column_count): Rename
2469         tuiCalculateRegsColumnCount.
2470         (tui_check_register_values): Rename tuiCheckRegisterValues.
2471         (tui_show_registers): Rename tuiShowRegisters.
2472         (tui_display_registers_from_line): Rename
2473         tuiDisplayRegistersFromLine.
2474         (tui_first_reg_element_inline): Rename tuiFirstRegElementInLine.
2475         (tui_toggle_float_regs): Rename tuiToggleFloatRegs.
2476         (tui_first_reg_element_no_inline): Rename
2477         tuiFirstRegElementNoInLine.
2478         * tui/tui-data.h: Update copyright.
2479         (enum tui_register_display_type): Rename _TuiRegisterDisplayType.
2480         * tui/tui-windata.c: Update copyright, update references.
2481         * tui/tui-regs.c: Update copyright, update references.
2482         * tui/tui-win.c: Update copyright, update references.
2483         * tui/tui-layout.c: Update copyright, update references.
2484
2485 2004-01-18  Andrew Cagney  <cagney@redhat.com>
2486
2487         * tui/tui-io.c: Update copyright.
2488         (key_is_end_sequence, key_is_backspace): New functions.
2489         (key_is_command_char, key_is_start_sequence): New function.
2490         (tui_getc): Update references.
2491         * tui/tui-io.h: Update copyright.
2492         (m_tuiStartNewLine): Delete macro.
2493         (m_isBackspace, m_isDeleteChar): Delete macros.
2494         (m_isDeleteLine, m_isDeleteToEol): Delete macros.
2495         (m_isNextPage, m_isPrevPage): Delete macros.
2496         (m_isLeftArrow, m_isRightArrow): Delete macros.
2497         (m_isXdbStyleCommandChar): Delete macro.
2498         (key_is_start_sequence): Declare, replace m_isStartSequence.
2499         (key_is_end_sequence): Declare, replace m_isEndSequence.
2500         (key_is_backspace): Declare ,replace m_isBackspace.
2501         (key_is_command_char): Declare, replace m_isCommandChar.
2502         * tui/tui-command.c: Update copyright.
2503         (tuiDispatchCtrlChar): Update references.
2504
2505         * config/djgpp/fnchange.lst: Delete tui/tuiSourceWin.c and
2506         tuiSourceWin.h.
2507
2508         * tui/tui-command.c: Rename tui/tuiCommand.c.
2509         * tui/tui-command.h: Rename tui/tuiCommand.h.
2510         * tui/tui-data.c: Rename tui/tuiData.c.
2511         * tui/tui-data.h: Rename tui/tuiData.h.
2512         * tui/tui-disasm.c: Rename tui/tuiDisassem.c.
2513         * tui/tui-disasm.h: Rename tui/tuiDisassem.h.
2514         * tui/tui-io.c: Rename tui/tuiIO.c.
2515         * tui/tui-io.h: Rename tui/tuiIO.h.
2516         * tui/tui-layout.c: Rename tui/tuiLayout.c.
2517         * tui/tui-layout.h: Rename tui/tuiLayout.h.
2518         * tui/tui-regs.c: Rename tui/tuiRegs.c.
2519         * tui/tui-regs.h: Rename tui/tuiRegs.h.
2520         * tui/tui-source.c: Rename tui/tuiSource.c.
2521         * tui/tui-source.h: Rename tui/tuiSource.h.
2522         * tui/tui-stack.c: Rename tui/tuiStack.c.
2523         * tui/tui-stack.h: Rename tui/tuiStack.h.
2524         * tui/tui-win.c: Rename tui/tuiWin.c.
2525         * tui/tui-win.h: Rename tui/tuiWin.h.
2526         * tui/tui-windata.c: Rename tui/tuiDataWin.c.
2527         * tui/tui-windata.h: Rename tui/tuiDataWin.h.
2528         * tui/tui-wingeneral.c: Rename tui/tuiGeneralWin.c.
2529         * tui/tui-wingeneral.h: Rename tui/tuiGeneralWin.h.
2530         * tui/tui-winsource.c: Rename tui/tuiSourceWin.c.
2531         * tui/tui-winsource.h: Rename tui/tuiSourceWin.h.
2532         * tui/tui-file.c: Update includes.
2533         * tui/tui-hooks.c: Update includes.
2534         * tui/tui-interp.c: Update includes.
2535         * tui/tui.c: Update includes.
2536         * Makefile.in: Update all tui/ dependencies.
2537         (SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS): Update file names.
2538
2539         * Makefile.in: Update copyright.  Update dependencies.
2540
2541         * tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile
2542         problem.
2543
2544 2004-01-18  Andrew Cagney  <cagney@redhat.com>
2545
2546         * mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register
2547         instead of register_gdbarch_init.
2548
2549         * remote-sds.c (tohex): Delete unused function.  Update copyright.
2550         * xstormy16-tdep.c (xstormy16_register_virtual_size): Ditto.
2551         * v850-tdep.c (v850_register_virtual_size): Ditto.
2552         * target.c (normal_target_post_startup_inferior): Ditto.
2553         * source.c (ambiguous_line_spec): Ditto.
2554         * remote.c (adapt_remote_get_threadinfo): Ditto.
2555         * mi/mi-out.c (out_field_fmt): Ditto.
2556         * mi/mi-interp.c (mi_interp_read_one_line_hook): Ditto.
2557         (output_control_change_notification): Ditto.
2558         * m68k-tdep.c (m68k_register_byte): Ditto.
2559         (m68k_remote_breakpoint_from_pc): Ditto.
2560         * ui-out.c (init_ui_out_state): Delete unused declaration.
2561         * stabsread.c (search_value): Ditto.
2562         * mi/mi-cmd-env.c (env_cli_command): Ditto.
2563         * maint.c (print_section_table): Ditto.
2564         * infrun.c (set_follow_fork_mode_command): Ditto.
2565
2566 2004-01-18  Mark Kettenis  <kettenis@gnu.org>
2567
2568         * dwarf2-frame.c (execute_cfa_program): Move DWA_CFA_nop before
2569         DW_CFA_def_cfa_exporession.  Add support for
2570         DW_CFA_offset_extendend_sf, DW_CFA_def_cfa_sf and
2571         DW_CFA_def_cfa_offset_sf.  This should fix PR backtrace/1391.
2572
2573 2004-01-18  Andrew Cagney  <cagney@redhat.com>
2574
2575         * ocd.c: Update copyright.
2576         (bdm_read_register_command): Delete unused function.
2577         (_initialize_remote_ocd): Delete commented out reference.
2578         (get_quoted_char, reset_packet): Delete #if0ed function.
2579         (output_packet, put_quoted_char): Delete #if0ed function.
2580         (stu_put_packet, stu_get_packet): Delete #if0ed function.
2581         (ocd_start_remote): Delete #if0ed code, remove #if1 wrapper.
2582         (BDM_BREAKPOINT): Delete #if0ed macro.
2583         (remote_timeout): Delete #if0ed variable.
2584
2585 2004-01-18  Mark Kettenis  <kettenis@gnu.org>
2586
2587         * Makefile.in (ALLDEPFILES): Remove core-sol2.c.
2588         (core-sol2.o): Remove dependency.
2589         * core-sol2.c: Remove file.
2590
2591 2004-01-17  Andrew Cagney  <cagney@redhat.com>
2592
2593         * mdebugread.c (compare_blocks): Make addr_diff a LONGEST.
2594         * block.h: Make GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOOCK
2595         enums.
2596
2597 2004-01-17  Daniel Jacobowitz  <drow@mvista.com>
2598
2599         * remote.c: Update copyright years.
2600
2601 2004-01-17  Daniel Jacobowitz  <drow@mvista.com>
2602
2603         * remote.c (remote_vcont_resume): Use xstrprintf instead of sprintf.
2604
2605 2004-01-17  Andrew Cagney  <cagney@redhat.com>
2606
2607         * mdebugread.c: Update copyright.
2608         (parse_symbol): Replace DEPRECATED_STREQ with strcmp.
2609         (parse_type, parse_procedure): Ditto.
2610         (parse_partial_symbols, psymtab_to_symtab_1): Ditto.
2611
2612         * cris-tdep.c (cris_store_struct_return): Put back accidently
2613         deleted function.
2614
2615         * gdbarch.sh: Update copyright year.
2616         * gdbarch.h, gdbarch.c: Re-generate.
2617
2618 2004-01-17  Daniel Jacobowitz  <drow@mvista.com>
2619
2620         Suggested by George Anzinger.
2621         * dwarf2expr.c (execute_stack_op): Fetch the second item from the
2622         correct stack offset.  Include unknown opcode numbers in the error
2623         message.
2624
2625 2004-01-17  Andrew Cagney  <cagney@redhat.com>
2626
2627         * x86-64-tdep.c (x86_64_init_abi): No need to clear
2628         extract_struct_value_address, i386 does not set it.
2629         * sparc64-tdep.c (sparc64_init_abi): Do not set
2630         extract_struct_value_address, never called.
2631         (sparc64_extract_struct_value_address): Delete function.
2632         * m68hc11-tdep.c: Update copyright.
2633         (m68hc11_gdbarch_init): Delete redundant assignment of
2634         extract_struct_value_address.
2635         * i386-tdep.c: Update copyright.
2636         (i386_gdbarch_init): Do not set extract_struct_value_address,
2637         never called.
2638         (i386_extract_struct_value_address): Delete function.
2639         * sparc-tdep.c (sparc32_gdbarch_init): Do not set
2640         extract_struct_value_address, never called.
2641         (sparc32_extract_struct_value_address): #if 0 function.  Add
2642         comments explaining its future.
2643
2644 2004-01-17  Daniel Jacobowitz  <drow@mvista.com>
2645
2646         * arm-tdep.c (arm_write_pc): New function.
2647         (arm_gdbarch_init): Call set_gdbarch_write_pc.
2648
2649 2004-01-17  Daniel Jacobowitz  <drow@mvista.com>
2650
2651         * breakpoint.c (must_shift_inst_regs): Delete.
2652         (bpstat_stop_status): Delete references to DECR_PC_AFTER_HW_BREAK
2653         and SHIFT_INST_REGS.
2654         * infcmd.c (step_1, step_1_continuation): Delete references to
2655         SHIFT_INST_REGS.
2656         * infrun.c (keep_going): Likewise.
2657         * target.h (DECR_PC_AFTER_HW_BREAK): Don't define.
2658         * config/i386/nm-i386.h (DECR_PC_AFTER_HW_BREAK): Likewise.
2659
2660 2004-01-17  Andrew Cagney  <cagney@redhat.com>
2661
2662         * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
2663         * gdbarch.h, gdbarch.c: Re-generate.
2664         * infcmd.c (print_return_value): Delete reference to
2665         DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS.
2666
2667         * cris-tdep.c (cris_gdbarch_init): Do not set
2668         deprecated_extract_struct_value_address.
2669
2670         * xstormy16-tdep.c: Update copyright.
2671         (xstormy16_extract_struct_value_address): Update to current
2672         extract struct value address interface.
2673         (xstormy16_gdbarch_init): Set extract_struct_value_address.
2674         * sh64-tdep.c (sh64_extract_struct_value_address): Update to
2675         current extract struct value address interface.
2676         (sh64_gdbarch_init): Set extract_struct_value_address.
2677
2678         * cris-tdep.c: Update copyright.
2679         (cris_extract_struct_value_address): Delete function.
2680         (struct_return_address): Delete variable.
2681         (cris_store_struct_return): Do not set struct_return_address.
2682
2683         * mcore-tdep.c: Update copyright.
2684         (mcore_extract_struct_value_address): Delete function.  Update
2685         comments.
2686         (mcore_gdbarch_init): Update.
2687         * mn10300-tdep.c: Update copyright.
2688         (mn10300_extract_struct_value_address): Delete function.
2689         (mn10300_gdbarch_init): Update.
2690         * v850-tdep.c: Update copyright.
2691         (v850_extract_struct_value_address): Delete.
2692         (v850_gdbarch_init): Update.
2693         * ns32k-tdep.c: Update copyright.
2694         (ns32k_extract_struct_value_address): Delete.
2695         (ns32k_gdbarch_init): Update.
2696         * hppa-tdep.c (hppa_extract_struct_value_address): Delete.
2697         (hppa_gdbarch_init): Update.
2698         * vax-tdep.c: Update copyright.
2699         (vax_extract_struct_value_address): Delete.
2700         (vax_gdbarch_init): Update.
2701
2702         * gdbarch.sh (DEPRECATED_NPC_REGNUM): Delete.
2703         * gdbarch.h, gdbarch.c: Re-generate.
2704         * procfs.c (procfs_fetch_registers): Delete reference to
2705         DEPRECATED_NPC_REGNUM.
2706         (procfs_store_registers): Ditto.
2707         * regcache.c (generic_target_write_pc): Simplify.
2708         * lynx-nat.c: Delete #ifdef SPARC code.  Not used.
2709
2710         * core-sol2.c (fetch_core_registers): Replace
2711         DEPRECATED_NPC_REGNUM with equivalent tdep value.
2712
2713         * hppa-tdep.c: Update copyright year.
2714         (hppa_target_write_pc): Use PCOQ_TAIL_REGNUM instead of
2715         NPC_REGNUM.
2716         (hppa_gdbarch_init): Do not set deprecated_npc_regnum.
2717
2718         * mips-tdep.c (mips_write_pc): New function.
2719         (mips_gdbarch_init): Set "write_pc" to "mips_write_pc".
2720         (mips_read_pc): Use mips_regnum instead of PC_REGNUM.
2721         (mips_find_saved_regs, mips_software_single_step: Ditto.
2722         (mips_frame_saved_pc, mips_frame_saved_pc): Ditto.
2723         mips_init_extra_frame_info, mips_pop_frame): Ditto.
2724
2725 2004-01-17  Andrew Cagney  <cagney@redhat.com>
2726
2727         * mips-tdep.c: Re-indent.  Group functions by ABI.
2728
2729 2004-01-17  Andrew Cagney  <cagney@redhat.com>
2730
2731         * gdbarch.sh (DECR_PC_AFTER_BREAK): Make zero the default.
2732         * gdbarch.c: Re-generate.
2733         * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
2734         DECR_PC_AFTER_BREAK to zero.
2735         * vax-tdep.c (vax_gdbarch_init): Ditto.
2736         * v850-tdep.c (v850_gdbarch_init): Ditto.
2737         * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
2738         * sh64-tdep.c (sh64_gdbarch_init): Ditto.
2739         * sh-tdep.c (sh_gdbarch_init): Ditto.
2740         * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
2741         * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
2742         * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
2743         * mips-tdep.c (mips_gdbarch_init): Ditto.
2744         * mcore-tdep.c (mcore_gdbarch_init): Ditto.
2745         * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2746         * m32r-tdep.c (m32r_gdbarch_init): Ditto.
2747         * ia64-tdep.c (ia64_gdbarch_init): Ditto.
2748         * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
2749         * hppa-tdep.c (hppa_gdbarch_init): Ditto.
2750         * h8300-tdep.c (h8300_gdbarch_init): Ditto.
2751         * frv-tdep.c (frv_gdbarch_init): Ditto.
2752         * cris-tdep.c (cris_gdbarch_init): Ditto.
2753         * avr-tdep.c (avr_gdbarch_init): Ditto.
2754         * arm-tdep.c (arm_gdbarch_init): Ditto.
2755         * i386-nto-tdep.c (i386nto_init_abi): Add comment.
2756
2757 2004-01-17  J. Brobecker  <brobecker@gnat.com>
2758
2759         * dwarf2read.c (dwarf2_non_const_array_bound_ignored_complaint):
2760         Delete, no longer used.
2761         (read_subrange_type): New function, mostly extracted from
2762         read_array_type().
2763         (read_array_type): Replace extracted code by call to
2764         read_subrange_type().
2765         (dwarf2_get_attr_constant_value): New function.
2766         (scan_partial_symbols): Add handling for DW_TAG_subrange_type.
2767         (add_partial_symbol): Likewise.
2768         (process_die): Likewise.
2769         (new_symbol): Likewise.
2770         (read_type_die): Likewise.
2771
2772 2004-01-16  Andrew Cagney  <cagney@redhat.com>
2773
2774         * symfile.c: Update copyright year.
2775         (compare_symbols): Delete unused function.
2776         * stabsread.c: Update copyright year.
2777         (lrs_general_complaint): Delete unused function.
2778         (ref_search_value): Ditto.
2779         (get_substring): Delete declaration.
2780         * sh64-tdep.c: Update copyright year.
2781         (sh64_get_gdb_regnum): Delete unused function.
2782         * dwarf2read.c (dwarf2_unsupported_at_frame_base_complaint):
2783         Delete unused function.
2784
2785 2004-01-17  Mark Kettenis  <kettenis@gnu.org>
2786
2787         * defs.h (gdb_osabi): Add GDB_OSABI_OPENBSD_ELF.
2788         * osabi.c (gdb_osabi_names): Add "OpenBSD ELF".
2789
2790 2004-01-16  Andrew Cagney  <cagney@redhat.com>
2791
2792         Changes from Peter Schauer.
2793         * rs6000-tdep.c: Update copyright year.
2794         (rs6000_push_dummy_call): Update the stack pointer before
2795         accessing the corresponding stack region.
2796         * rs6000-nat.c: Update copyright year.
2797         (set_host_arch): Set "info.abfd" to "exec_bfd".
2798
2799 2004-01-15  Mark Kettenis  <kettenis@gnu.org>
2800
2801         * blockframe.c: Update copyright year.
2802         (inside_entry_func): Don't treat a zero PC specially.
2803
2804 2004-01-14  Elena Zannoni  <ezannoni@redhat.com>
2805
2806         * gcore.c (gcore_copy_callback): Use paddr_d to print size
2807         variable.
2808         (gcore_create_callback): Ditto.  Skip any memory segment that has
2809         no permissions set.
2810
2811 2004-01-14  David Carlton  <carlton@kealia.com>
2812
2813         Change symbols for C++ nested types to contain the fully qualified
2814         name, if possible.  (At least in the DWARF-2 case.)  Partial fix
2815         for PR's c++/57, c++/488, c++/539, c++/573, c++/609, c++/832,
2816         c++/895.
2817         * c-exp.y (qualified_type): Handle types nested within classes.
2818         * cp-namespace.c: Update comments.
2819         (cp_set_block_scope): Delete #if 0.
2820         (cp_lookup_nested_type): Handle types nested within classes.
2821         * dwarf2read.c: (scan_partial_symbols): Call add_partial_structure
2822         when appropriate.
2823         (add_partial_symbol): Add the name of the enclosing namespace to
2824         types.
2825         (pdi_needs_namespace): New.
2826         (add_partial_namespace): Tweak comment.
2827         (add_partial_structure): New.
2828         (psymtab_to_symtab_1): Initialize processing_current_prefix
2829         here...
2830         (process_die): instead of here.
2831         (read_structure_scope): Try to figure out the name of the class or
2832         namespace that the structure might be defined within.
2833         (read_enumeration): Generate fully-qualified names, if possible.
2834         (read_namespace): Don't set name to NULL.
2835         (die_specification): New.
2836         (new_symbol): Generate fully-qualified names for types.
2837         (read_type_die): Determine appropriate prefix.
2838         (determine_prefix): New.
2839         (typename_concat): New.
2840         (class_name): New.
2841         * valops.c (value_aggregate_elt): Pass NOSIDE to
2842         value_struct_elt_for_reference.
2843         (value_struct_elt_for_reference): Make static, add NOSIDE
2844         parameter, call value_maybe_namespace_elt as a last resort.
2845         (value_namespace_elt): Break out code into
2846         value_maybe_namespace_elt.
2847         (value_maybe_namespace_elt): New.
2848
2849 2004-01-12  Andrew Cagney  <cagney@redhat.com>
2850
2851         * mips-tdep.c (mips_convert_register_p): Handle both raw and
2852         cooked floating-point registers.
2853         (mips_gdbarch_init): Set convert_register_p, register_to_value,
2854         and value_to_register.
2855
2856 2004-01-13  Andrew Cagney  <cagney@redhat.com>
2857
2858         * gdbarch.sh (FUNCTION_START_OFFSET): Make zero the default.
2859         * gdbarch.c: Re-generate.
2860         * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
2861         FUNCTION_START_OFFSET.
2862         * v850-tdep.c (v850_gdbarch_init): Ditto.
2863         * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
2864         * sh64-tdep.c (sh64_gdbarch_init): Ditto.
2865         * sh-tdep.c (sh_gdbarch_init): Ditto.
2866         * s390-tdep.c (s390_gdbarch_init): Ditto.
2867         * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
2868         * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
2869         * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
2870         * mips-tdep.c (mips_gdbarch_init): Ditto.
2871         * mcore-tdep.c (mcore_gdbarch_init): Ditto.
2872         * m68k-tdep.c (m68k_gdbarch_init): Ditto.
2873         * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2874         * m32r-tdep.c (m32r_gdbarch_init): Ditto.
2875         * ia64-tdep.c (ia64_gdbarch_init): Ditto.
2876         * i386-tdep.c (i386_gdbarch_init): Ditto.
2877         * hppa-tdep.c (hppa_gdbarch_init): Ditto.
2878         * h8300-tdep.c (h8300_gdbarch_init): Ditto.
2879         * frv-tdep.c (frv_gdbarch_init): Ditto.
2880         * d10v-tdep.c (d10v_gdbarch_init): Ditto.
2881         * cris-tdep.c (cris_gdbarch_init): Ditto.
2882         * avr-tdep.c (avr_gdbarch_init): Ditto.
2883         * arm-tdep.c (arm_gdbarch_init): Ditto.
2884         * alpha-tdep.c (alpha_gdbarch_init): Ditto.
2885
2886 2004-01-13  Daniel Jacobowitz  <drow@mvista.com>
2887
2888         * infrun.c (follow_fork_mode_ask): Remove.
2889         (follow_fork_mode_kind_names): Remove follow_fork_mode_ask.
2890         (follow_fork): Simplify and remove internal error for
2891         follow_fork_mode_ask.
2892         (_initialize_infrun): Update "set follow-fork-mode" help text.
2893
2894 2004-01-13  Andrew Cagney  <cagney@redhat.com>
2895
2896         * configure.in: Update copyright year.
2897         (build_warnings): Add -Wunused-label.
2898         * configure: Re-generate.
2899
2900 2004-01-12  Andrew Cagney  <cagney@redhat.com>
2901
2902         * exec.h (exec_ops): Make "extern".
2903
2904         * mips-tdep.c (mips_pseudo_register_read): Don't return a value,
2905         the function is void.
2906         (mips_pseudo_register_write): Ditto.
2907
2908 2004-01-12  Andrew Cagney  <cagney@redhat.com>
2909
2910         * stack.c (frame_info): Delete DEPRECATED_PRINT_EXTRA_FRAME_INFO
2911         call.  Never defined.
2912         * sparc-tdep.h (struct frame_info): Add opaque declaration.
2913         * sparc64-tdep.h (struct gdbarch): Add opaque declaration.
2914         (struct sparc_gregset, struct regcache): Ditto.
2915         * sparc-nat.c: Update copyright.  Specify "GNU/Linux".
2916
2917 2004-01-12  Andrew Cagney  <cagney@redhat.com>
2918
2919         * mi/ChangeLog: Delete file.  Renamed to ...
2920         * mi/ChangeLog-1999-2003: New file.
2921         * tui/ChangeLog: Delete file.  Renamed to ...
2922         * tui/ChangeLog-1998-2003: New file.
2923
2924 2004-01-11  Mark Kettenis  <kettenis@gnu.org>
2925
2926         * sparc64nbsd-tdep.c: Include "regset.h".
2927         (sparc64nbsd_sizeof_struct_reg, sparc64nbsd_sizeof_struct_fpreg):
2928         Remove variables.
2929         (fetch_core_registers): Remove function.
2930         (sparc64nbsd_core_fns): Remove variable.
2931         (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): New
2932         functions.
2933         (sparc64nbsd_init_abi): Initialize TDEP->gregset,
2934         TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
2935         (_initialize_sparc64nbsd_tdep): Remove call to add_core_fns.
2936
2937         * sparc-tdep.c (sparc32_extract_struct_value_address): Rename from
2938         sparc_extract_struct_value_address.
2939         (sparc32_gdbarch_init): Set extract_struct_value_address.
2940         * sparc64-tdep.c (sparc64_extract_struct_value_address): New
2941         function.
2942         (sparc64_init_abi): Set extract_struct_value_address.  Don't set
2943         return_value_on_stack.
2944
2945         * NEWS: Mention that %cs and %ss have been added to the AMD64
2946         configurations
2947
2948         * frame.c: Update copyright year.
2949         (get_prev_frame): Improve comment.
2950
2951         * sparc64fbsd-tdep.c: Include "regset.h".
2952         (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
2953         Remove variables.
2954         (fetch_core_registers): Remove function.
2955         (sparc64fbsd_core_fns): Remove variable.
2956         (sparc64fbsd_supply_gregset, sparc64fbsd_supply_fpregset): New
2957         functions.
2958         (sparc64fbsd_init_abi): Initialize TDEP->gregset,
2959         TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
2960         (_initialize_sparc64fbsd_tdep): Remove call to add_core_fns.
2961
2962         * sparcnbsd-tdep.c: Include "regset.h".
2963         (fetch_core_registers): Remove function.
2964         (sparcnbsd_core_fns, sparcnbsd_elfcore_fns): Remove varaibles.
2965         (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): New
2966         functions.
2967         (sparc32nbsd_init_abi): Initialize TDEP->gregset and
2968         TDEP->fpregset.
2969         (_initialize_sparcnbsd_tdep): Remove calls to add_core_fns.
2970
2971         * sparc-tdep.h (struct regset): Provide opaque declaration.
2972         (struct gdbarch_tdep): Add gregset, sizeof_gregset,
2973         fpregset and sizeof_fpregset members.
2974         * sparc-tdep.c (struct regset): Provide opaque declaration.
2975         (sparc_regset_from_core_section): New function.
2976         (sparc32_gdbarch_init): Initialize TDEP->gregset,
2977         TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_fpregset.
2978         Set regset_from_core_section when appropriate.
2979
2980 2004-01-10  Mark Kettenis  <kettenis@gnu.org>
2981
2982         * x86-64-tdep.c (amd64_non_pod_p): New function.
2983         (amd64_classify_aggregate): Return class memory for non-POD
2984         C++ structure types.
2985
2986         * x86-64-tdep.c (amd64_push_arguments): Add struct_return
2987         argument.  Use it to reserve a register if necessary.
2988         (amd64_push_dummy_call): Pass STRUCT_RETURN in call to
2989         amd64_push_arguments.
2990
2991         * x86-64-tdep.c (amd64_classify_aggregate): Ignore static fields.
2992
2993         * x86-64-tdep.c (amd64_register_info): Add %cs and %ss.  Adjust
2994         register numbers in comments.
2995         * x86-64-tdep.h: Update copyright year.
2996         (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM):
2997         Adjust for addition of %cs and %ss.
2998         * amd64fbsd-nat.c: Update copyright year.
2999         (reg_offset): Add register offsets for %cs and %ss.
3000         * amd64fbsd-tdep.c: Update copyright year.
3001         (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss.
3002         (amd64fbsd_sc_reg_offset): Likewise.
3003         * x86-64-linux-nat.c: Update copyright year.
3004         (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs
3005         and %ss.
3006         * amd64nbsd-nat.c: Update copyright year.
3007         (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss.
3008         * amd64nbsd-tdep.c: Update copyright year.
3009         (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss.
3010         * x86-64-linux-tdep.c: Update copyright year.
3011         (user_to_gdb_regmap): Add mapping for %cs and %ss.
3012         (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss.
3013         * regformats/reg-x86-64.dat: Add %cs and %ss.
3014
3015         * blockframe.c (inside_entry_func): Reformat.  Introduce new local
3016         variables to prevent long lines.  Update comments to reflect
3017         reality.
3018
3019 2004-01-09  David Carlton  <carlton@kealia.com>
3020
3021         Checked in by Elena Zannoni  <ezannoni@redhat.com>.
3022         * dwarf2read.c (read_namespace): Pull out name-generating code
3023         into namespace_name. Rename previous_namespace to previous_prefix
3024         and processing_current_namespace to processing_current_prefix..
3025         (namespace_name): New function.
3026         (add_partial_symbol): Substitute uses of pdi->name with
3027         actual_name.
3028         * cp-support.h: Rename processing_current_namespace to
3029         processing_current_prefix.
3030         Update copyright year.
3031         * cp-namespace.c: Rename processing_current_namespace to
3032         processing_current_prefix.
3033         Update copyright year.
3034
3035 2004-01-09  Andrew Cagney  <cagney@redhat.com>
3036
3037         * jv-valprint.c, ser-unix.c: Add missing copyright years.
3038
3039 2004-01-09  Mark Kettenis  <kettenis@gnu.org>
3040
3041         * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of
3042         complaining.
3043         (process_one_symbol): Deal with N_PATCH stabs.
3044
3045 2004-01-09  Elena Zannoni  <ezannoni@redhat.com>
3046
3047         * dwarf2read.c (read_array_type): Discard FORTRAN_HACK macro and
3048         ifdeffed code.
3049         Update copyright year.
3050
3051 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
3052
3053         * config/pa/tm-hppa.h: Update extern declarations for
3054         hppa32_hpux_frame_saved_pc_in_sigtramp,
3055         hppa32_hpux_frame_base_before_sigtramp, and
3056         hppa32_hpux_frame_find_saved_regs_in_sigtramp.
3057
3058 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
3059
3060         * config/pa/tm-hppah.h: Update copyright years.
3061
3062 2004-01-08  Andrew Cagney  <cagney@redhat.com>
3063
3064         * mips-tdep.c (mips_n32n64_reg_struct_has_addr): Delete function.
3065         (mips_o32_reg_struct_has_addr): Delete function.
3066         (mips_gdbarch_init): Update.
3067         (mips_extract_struct_value_address): Delete function.
3068
3069 2004-01-08  David Mosberger  <davidm@hpl.hp.com>
3070
3071         * ia64-linux-tdep.c: Update GATE_AREA_END value to reflect
3072         reality.
3073
3074 2004-01-07  Andrew Cagney  <cagney@redhat.com>
3075
3076         * mips-tdep.c (mips_gdbarch_init): Set elf_flags to the previous
3077         architecture's elf flags (when available).
3078
3079         * mips-tdep.c (mips_gdbarch_init): Move code determining the MIPS
3080         FPU to the start, check the MIPS FPU when looking for an old
3081         architecture.
3082         (set_mipsfpu_single_command): Update the architecture.
3083         (set_mipsfpu_double_command, set_mipsfpu_none_command): Ditto.
3084
3085         * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Delete macro.
3086         (mips_mask_address_p): Add "tdep" parameter.
3087         (show_mask_address, mips_addr_bits_remove): Update.
3088         (mips_dump_tdep): Update.
3089         (MIPS_DEFAULT_STACK_ARGSIZE): Delete macro.
3090         (MIPS_STACK_ARGSIZE): Delete macro.
3091         (mips_stack_argsize, mips_eabi_push_dummy_call): Update.
3092         (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call): Update.
3093         (mips_o64_push_dummy_call, mips_o32_return_value): Update.
3094         (mips_dump_tdep): Update.
3095         (MIPS_SAVED_REGSIZE): Delete macro.
3096         (MIPS_DEFAULT_SAVED_REGSIZE): Delete macro.
3097         (mips_saved_regsize, mips_eabi_use_struct_convention): Update.
3098         (mips_eabi_reg_struct_has_addr, mips_find_saved_regs): Update.
3099         (mips_frame_saved_pc, mips16_heuristic_proc_desc): Update.
3100         (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call): Update.
3101         (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update.
3102         (mips_pop_frame, return_value_location): Update.
3103         (mips_n32n64_return_value, mips_dump_tdep): Update.
3104
3105         * mips-tdep.c (mips_gdbarch_init): Clean up code selecting the
3106         MIPS ABI.
3107
3108         * mips-tdep.c: Update copyright.
3109         (mips_gdbarch_init): Merge two code blocks handling the register
3110         name and number layout.
3111
3112 2004-01-02  Pawel Ostrowski  <pasza@zodiac.mimuw.edu.pl>
3113
3114         * tracepoint.c (validate_actionline): Fix segv at EOF
3115
3116 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
3117
3118         * hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME
3119         properly for static fields.
3120
3121 2004-01-06  Jeff Johnston  <jjohnstn@redhat.com>
3122             Jason Molenda  <jmolenda@apple.com>
3123
3124         * disasm.c: Update copyright to include 2004.
3125         (do_mixed_source_and_assembly): For uiout asm list
3126         and tuple cleanups, initialize to null_cleanup instead of
3127         NULL and do so prior to loop.  Only reset when we close off
3128         the tuple/list.  Move check for whether to close off the
3129         asm tuple/list to after dump_insns call where it will be run
3130         on each loop iteration.
3131
3132 2004-01-05  Andrew Cagney  <cagney@redhat.com>
3133
3134         * ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED"
3135         should be a switch case and not a label.
3136         * mips-tdep.c (mips32_next_pc): Delete unused labels
3137         "greater_equal_branch" and "less_zero_branch".
3138         * jv-valprint.c (java_print_value_fields): Delete unused label
3139         "flush_it".
3140
3141         * target.c (unpush_target): Only close a target that is in the
3142         target stack.
3143
3144 2004-01-05  Mark Kettenis  <kettenis@gnu.org>
3145
3146         * sparc-tdep.c (sparc_extract_struct_value_address): Get the
3147         address from [sp + 64] instead of %o2.
3148
3149         * frame.c (get_prev_frame): Don't try to unwind the PC.  This
3150         fixes PR backtrace/1476.
3151
3152 2004-01-05  Andrew Cagney  <cagney@redhat.com>
3153
3154         * libunwind-frame.h (struct frame_id): Add opaque declaration,
3155         move to start of file.
3156         * i386-tdep.h (struct regcache): Add opaque declaration.
3157         * config/ia64/nm-linux.h (struct target_ops): Add opaque
3158         declaration.
3159         * ia64-tdep.c (ia64_find_proc_info_x): Do not use __FUNCTION__.
3160         (ia64_gdbarch_init): Use "GNU/Linux" in comment.
3161         * win32-nat.c (fake_create_process): Use ISO C style definition.
3162         * stabsread.c (define_symbol): Delete #ifndef
3163         DEPRECATED_USE_REGISTER_NOT_ARG wrapper around
3164         stabs_argument_has_addr call, macro never defined.
3165
3166 2004-01-04  Michael Chastain  <mec.gnu@mindspring.com>
3167
3168         * op50-rom.c: Delete.
3169         * w89k-rom.c: Delete.
3170         * Makefile.in: Remove references.
3171
3172 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
3173
3174         * x86-64-tdep.c: Update copyright year.
3175         (struct amd64_register_info): Rename from x86_64_register_info.
3176         (amd64_register_info): Rename from x86_64_register_info.
3177         (AMD64_NUM_REGS): Rename from X86_64_NUM_REGS.
3178         (amd64_register_name): Rename from x86_64_register_name.
3179         (amd64_register_type): Rename from x86_64_register_type.
3180         (amd64_dwarf_regmap): Rename from x86_64_dwarf_regmap.
3181         (amd64_dwarf_regmap_len): Rename from x86_64_dwarf_regmap_len.
3182         (amd64_dwarf_reg_to_regnum): Rename from
3183         x86_64_dwarf_reg_to_regnum.
3184         (amd64_convert_register_p): Rename from x86_64_convert_register_p.
3185         (amd64_push_dummy_call): Rename from x86_64_push_dummy_call.
3186         (AMD64_NUM_SAVED_REGS): Rename from X86_64_NUM_SAVED_REGS.
3187         (struct amd64_frame_cache): Renamed from x86_64_frame_cache.
3188         (amd64_alloc_frame_cache): Renamed from x86_64_alloc_frame_cache.
3189         (amd64_analyze_prologue): Rename from x86_64_analyze_prologue.
3190         (amd64_skip_prologue): Rename from x86_64_skip_prologue.
3191         (amd64_frame_cache): Rename from x86_64_frame_cache.
3192         (amd64_frame_this_id): Rename from x86_64_frame_this_id.
3193         (amd64_frame_prev_register): Rename from
3194         x86_64_frame_prev_register.
3195         (amd64_frame_unwind): Rename from x86_64_frame_unwind.
3196         (amd64_frame_sniffer): Rename from x86_64_frame_sniffer.
3197         (amd64_sigtramp_frame_cache): Rename from
3198         x86_64_sigtramp_frame_cache.
3199         (amd64_sigtramp_frame_prev_register): Rename from
3200         x86_64_sigtramp_frame_prev_register.
3201         (amd64_sigtramp_frame_unwind): Rename from
3202         x86_64_sigtramp_frame_unwind.
3203         (amd64_sigtramp_frame_sniffer): Rename from
3204         x86_64_sigtramp_frame_sniffer.
3205         (amd64_frame_base_address): Rename from x86_64_frame_base_address.
3206         (amd64_frame_base): Rename from x86_64_frame_base.
3207         (amd64_unwind_dummy_id): Rename from x86_64_unwind_dummy_id.
3208         (amd64_frame_align): Rename from x86_64_frame_align.
3209         (amd64_supply_fpregset): Rename from x86_64_supply_fpregset.
3210         (amd64_regset_from_core_section): Rename from
3211         x86_64_regset_from_core_section.
3212         (x86_64_init_abi): Update comments.
3213
3214 2004-01-04  Nick Roberts  <nick@nick.uklinux.net>
3215
3216         * MAINTAINERS (write after approval): Add myself.
3217
3218 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
3219
3220         * sparc64-tdep.c (sparc64_store_arguments): Fix handling of
3221         `float' arguments.
3222
3223 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
3224
3225         * sparc64-tdep.c (sparc64_store_floating_fields): Update comment
3226         such that it mentions a specific version of GCC that exhibits this
3227         bug.
3228
3229 2004-01-03  Mark Kettenis  <kettenis@gnu.org>
3230
3231         * sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a
3232         structure that has a single `float' member, store it in %f1 in
3233         addition to %f0.
3234
3235         * sparc-sol2-nat.c: Add missing '\'.
3236
3237         * sparc-tdep.c (sparc32_return_value): New function.
3238          (sparc32_use_struct_convention, sparc32_return_value_on_stack):
3239         Remove functions.
3240         (sparc32_gdbarch_init): Set return_value, don't set
3241         extract_return_value, store_return_value, use_struct_convention
3242         and return_value_on_stack.
3243
3244         * sparc-sol2-nat.c: Add missing ')'.
3245
3246 2004-01-03  J. Brobecker  <brobecker@gnat.com>
3247
3248         * infrun.c (handle_step_into_function): New function.
3249         (handle_inferior_event): Extract out some code into the new
3250         function above.
3251
3252 2004-01-03  J. Brobecker  <brobecker@gnat.com>
3253
3254         * infrun.c (handle_inferior_event): Move the declaration of
3255         real_stop_pc inside the if blocks where it is used.
3256
3257 2004-01-03  Mark Kettenis  <kettenis@gnu.org>
3258
3259         * sparc64-tdep.c (sparc64_16_byte_align_p)
3260         (sparc64_store_floating_fields, sparc64_store_floating_fields):
3261         Use check_typedef to get subtypes of structures and unions.
3262         (sparc64_store_return_value): Fix calculation of the appropriate
3263         offset into VALBUF when storing a structure or union.
3264         (sparc64_return_value): New function.
3265         (sparc64_use_struct_convention): Remove function.
3266         (sparc64_init_abi): Set return_value, don't set
3267         extract_return_value, store_return_value and
3268         use_struct_convention.
3269
3270 2004-01-03  Eli Zaretskii  <eliz@elta.co.il>
3271
3272         * config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS,
3273         bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c,
3274         gdb/config/alpha/xm-alphaosf.h,
3275         gdb/config/powerpc/tm-ppcle-eabi.h,
3276         gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001,
3277         gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003,
3278         gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in,
3279         gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c,
3280         gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c,
3281         gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c,
3282         gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c,
3283         gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c,
3284         gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c,
3285         gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c,
3286         gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp,
3287         nclude/ChangeLog-9103, include/coff/ChangeLog-9103,
3288         include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103,
3289         opcodes/ChangeLog-0001, opcodes/ChangeLog-0203,
3290         opcodes/openrisc-dis.c, opcodes/openrisc-desc.h,
3291         sim/frv/profile-fr550.c, sim/frv/profile-fr550.h,
3292         sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c,
3293         sim/testsuite/sim/sh64/compact/ldsl-mach.cgs,
3294         sim/testsuite/sim/sh64/compact/ldsl-macl.cgs,
3295         sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and
3296         sim/testsuite/sim/sh64/compact/stsl-macl.cgs.
3297         Remove lines for .cvsignore files.
3298
3299 2004-01-03  J. Brobecker  <brobecker@gnat.com>
3300
3301         * infrun.c: Back out the previous change.
3302
3303 2004-01-03  Mark Kettenis  <kettenis@gnu.org>
3304
3305         * NEWS: Mention revised SPARC target.  Add sparc-*-lynxos* and
3306         sparc-*-sunos4* to the list of REMOVED configurations.
3307
3308         * configure.tgt: Add back sparc-*-vxworks*.
3309         * remote-vxsparc.c: Remove all includes except for "defs.h",
3310         "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h".
3311         Include "sparc-tdep.h".
3312         (SPARC_R_G1): New define.
3313         (vxsparc_gregset): New variable.
3314         (ext_format_sparc): Remove extern declaration.
3315         (vx_read_register): Rewrite to use sparc32_supply_gregset and
3316         sparc32_supply_fpregset.
3317         (vx_write_register): Rewrite to use sparc32_collect_gregset,
3318         sparc_collect_rwindow and sparc32_collect_fpregset.
3319         * config/sparc/tm-vxworks.h: New file, based on recently removed
3320         tm-vxsparc.h.
3321         * config/sparc/vxworks.mt: New file, based on recently removed
3322         vxworks.mt.
3323
3324 2004-01-03  J. Brobecker  <brobecker@gnat.com>
3325
3326         * infrun.c (handle_step_into_function): New function.
3327         (handle_inferior_event): Extract out some code into the new
3328         function above.
3329
3330 2004-01-02  Mark Kettenis  <kettenis@gnu.org>
3331
3332         * Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and
3333         sparcl-tdep.c.  Add sparc-linux-tdep.c, sparc-sol2-nat.c,
3334         sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c,
3335         sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c,
3336         sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c,
3337         sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c.
3338         (sparc_nat_h): New variable.
3339         (sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables.
3340         (tm-sun4os4.h): Remove dependency.
3341         (sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies.
3342         (sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o,
3343         sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o,
3344         sparc-tdep.o): Update dependencies.
3345         (sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o,
3346         sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o,
3347         sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New
3348         dependencies.
3349         * configure.host: Remove existing sparc-*-lynxos*,
3350         sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*,
3351         ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*,
3352         sparcv9-*-* and sparc64-*-* triplets.  Add new sparc64-*-linux*,
3353         sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2*
3354         triplets.
3355         * configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*,
3356         sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*,
3357         sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*,
3358         sparcv9-*-* and commented out sparc64-*-solars2* triplets.  Add
3359         new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*,
3360         sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*,
3361         sparc64-*-solaris2* and sparc64-*-* triplets.
3362         * sparc64-tdep.c: Update copyright year.  Include "inferior.h",
3363         "symtab.h" and "objfiles.h".
3364         (BIAS): Remove define.
3365         (X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22)
3366         (X_DISP19): Remove macros.
3367         (sparc_fetch_instruction): Remove function.
3368         (struct gdbarch_tdep): Remove definition.
3369         (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE.
3370         (sparc_breakpoint_from_pc): Remove function.
3371         (struct sparc64_frame_cache): Remove definition.
3372         (sparc64_alloc_frame_cache, sparc64_analyze_prologue,
3373         sparc64_unwind_pc): Remove functions.
3374         (sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of
3375         `struct sparc64_frame_cache.  Call sparc_analyze_prologue instead
3376         of sparc64_analyze_prologue.  Mark constant as ULL instead of UL.
3377         (sparc64_frame_cache): Change return type to `struct
3378         sparc_frame_cache *'.  Simply call sparc_frame_cache.
3379         (sparc64_frame_this_id, sparc64_frame_prev_register,
3380         sparc64_frame_base_address): Use `struct sparc_frame_cache'
3381         instead of `struct sparc64_frame_cache.
3382         (sparc_unwind_dummy_id, sparc_extract_struct_value_address,
3383         sparc_analyze_control_transfer, sparc_software_single_step,
3384         sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow,
3385         _initialize_sparc64_tdep): Remove functions.
3386         (TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros.
3387         (PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New
3388         macros.
3389         (sparc64_supply_gregset, sparc64_collect_gregset,
3390         sparc64_supply_fpregset, sparc64_collect_fpregset): New functions.
3391         (sparc64_init_abi): New function.
3392         * sparc64-tdep.h: Update copyright year.  Fix typo in multiple
3393         inclusion guard.  Include "sparc-tdep.h".
3394         (BIAS): Define.
3395         (r_tstate_offset, r_fprs_offset): New defines.
3396         (enum sparc_regnum): Remove defenition.
3397         (enum sparc64_regnum): Reformat.
3398         (sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes.
3399         (sparc64_init_abi, sparc64_supply_gregset,
3400         sparc64_collect_gregset, sparc64_supply_fpregset,
3401         sparc64_collect_fpregset): New prototypes.
3402         (sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset):
3403         Add extern declarations.
3404         (sparc64_sol2_init_abi): New prototype.
3405         (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
3406         (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
3407         prototypes.
3408         * sparc64fbsd-nat.c: Include "sparc-nat.h", don't include
3409         "sparnbsd-nat.h".
3410         (sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove
3411         functions.
3412         (_initialize_sparc64fbsd_nat): Remove initialization of
3413         sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg,
3414         sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p,
3415         sparcbsd_fpreg_supplies_p.  Initialize sparc_gregset.
3416         * sparc64fbsd-tdep.c: Update copyright year.  Include "frame.h",
3417         "frame-unwind.h", "trad-frame.h" and "gdb_assert.h".
3418         (sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset)
3419         (sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset)
3420         (sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset)
3421         (sparc64fbsd_r_y_offset): Remove variables.
3422         (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
3423         Make static and const.
3424         (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
3425         (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
3426         functions.
3427         (sparc64fbsd_gregset): New variable.
3428         (fetch_core_registers): Replace calls to sparc64fbsd_supply_reg
3429         and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset
3430         and sparc64_supply_fpregset.
3431         (sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache)
3432         (sparc64fbsd_sigtramp_frame_this_id)
3433         (sparc64fbsd_sigtramp_frame_prev_register): New functions.
3434         (sparc64fbsd_sigtramp_frame_unwind): New variable.
3435         (sparc64fbsd_sigtramp_frame_sniffer): New function.
3436         (sparc64fbsd_init_abi): Set pc_in_sigtramp, append
3437         sparc64fbsd_sigtramp_frame_sniffer.  Call sparc64_init_abi.
3438         * sparcnbsd-tdep.c: Update copyright year.  Include
3439         "floatformat.h", "frame.h", "frame-unwind.h", "symtab.h",
3440         "trad-frame.h" and "gdb_assert.h", don't include "target.h",
3441         "value.h" and "sparcnbsd-tdep.h".
3442         (REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC)
3443         (REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT)
3444         (REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC)
3445         (REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove
3446         defines.
3447         (sparcnbsd_gregset): New variable.
3448         (sparcnbsd_supply_reg32, sparcnbsd_supply_reg64)
3449         (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64)
3450         (sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64)
3451         (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions.
3452         (sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New
3453         variables.
3454         (sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache)
3455         (sparc32nbsd_sigcontext_frame_this_id)
3456         (sparc32nbsd_sigcontext_frame_prev_register): New functions.
3457         (sparc32nbsd_sigcontext_frame_unwind): New variable.
3458         (sparc32nbsd_sigtramp_frame_sniffer): New function.
3459         (sparcnbsd_get_longjmp_target_32,
3460         sparcnbsd_get_longjmp_target_64): Remove functions.
3461         (sparcnbsd_aout_in_solib_call_trampoline): Rewrite.
3462         (sparcnbsd_init_abi_common, sparcnbsd_init_aout,
3463         sparcnbsd_init_elf): Remove.
3464         (sparcnbsd_init_abi, sparcnbsd_aout_init_abi)
3465         (sparcnbsd_elf_init_abi): New functions.
3466         (_initialize_sparcnbsd_tdep): New prototype.
3467         (_initialize_sparnbsd_tdep): Update.
3468         * config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and
3469         corelow.o.  Add sparc64-nat.o and sparc-nat.o.
3470         * config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o.
3471         * config/sparc/linux.mh: Update comment.
3472         (XM_FILE, HOST_IPC): Remove variables.
3473         (NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o.  Remove
3474         sparc-linux-nat.o.
3475         * config/sparc/linux.mt: Update comment.
3476         (TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o.
3477         * config/sparc/nbsd.mt: Reformat.
3478         * config/sparc/nbsd64.mh: Update comment.
3479         (NATDEPFILES): Add sparc-nat.o.
3480         * config/sparc/nbsd64.mt: Update comment.
3481         (TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o.
3482         (TM_FILE): Set to tm-nbsd.h.
3483         * config/sparc/nbsdelf.mh: Update comment.
3484         (NATDEPFILES): Add sparc-nat.o.
3485         (XM_FILE): Delete.
3486         * config/sparc/nbsdaout.mh: Update comment.
3487         (NATDEPFILES): Add sparc-nat.o
3488         (XM_FILE): Delete.
3489         * config/sparc/nm-linux.h: Update copyright year.  Don't include
3490         "config/nm-svr4.h" and "solib.h".  Add protection against multiple
3491         inclusion.
3492         (KERNEL_U_SIZE): Remove define.
3493         (kernel_u_size): Remove prototype.
3494         (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define.
3495         * config/sparc/nm-nbsd.h: Update copyright.  Don't include
3496         "regcache.h".
3497         (CHILD_PREPARE_TO_STORE): Remove define.
3498         * config/sparc/nm-nbsdaout.h: Tweak some comments.
3499         * sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c,
3500         sparcnbsd-nat.c: Rewrite files.
3501         * config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files.
3502         * sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h,
3503         sparcnbsd-tdep.h: Remove files.
3504         * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h,
3505         config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt,
3506         config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt,
3507         config/sparc/sparc-em.mt, config/sparc/sparclynx.mh,
3508         config/sparc/sparclynx.mt, config/sparc/sun4os4.mh,
3509         config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh,
3510         config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h,
3511         config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h,
3512         config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
3513         config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
3514         config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt,
3515         config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files.
3516         * sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c,
3517         sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c,
3518         sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files.
3519         * config/sparc/linux64.mh, config/sparc/linux64.mt,
3520         config/sparc/nm-sol2.h, config/sparc/sol2-64.mt,
3521         config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt,
3522         config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files.
3523
3524 2004-01-02  Andrew Cagney  <cagney@redhat.com>
3525
3526         From 2003-12-18 Kazuhiro Inaoka:
3527         * configure.host: Add m32r-linux target.
3528
3529 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
3530
3531         * top.c (print_gdb_version): Update year to 2004.
3532
3533 2004-01-02  Mark Mitchell  <mark@codesourcery.com>
3534
3535         * MAINTAINERS: Add myself to the write-after-approval category.
3536
3537 2004-01-02  Daniel Jacobowitz  <drow@mvista.com>
3538
3539         From Bernardo Innocenti <bernie@develer.com>:
3540         * configure.tgt: Add uClinux target.
3541
3542 2004-01-02  Andrew Cagney  <cagney@redhat.com>
3543
3544         * utils.c (do_my_cleanups): Make static, add forward declaration.
3545         * defs.h (do_my_cleanups): Delete declaration.
3546
3547 2004-01-02  Eli Zaretskii  <eliz@elta.co.il>
3548
3549         * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and
3550         bfd/ChangeLog-0203.
3551
3552 2004-01-02  Mark Kettenis  <kettenis@gnu.org>
3553
3554         * configure.in: Check for <machine/reg.h>.  Check for `struct reg'
3555         in <machine/reg.h>.
3556         * configure, config.in: Regenerate.
3557
3558 For older changes see ChangeLog-2003, mi/ChangeLog-1999-2003, and
3559 tui/ChangeLog-1998-2003.
3560 \f
3561 Local Variables:
3562 mode: change-log
3563 left-margin: 8
3564 fill-column: 74
3565 version-control: never
3566 End: