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