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