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