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