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