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