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