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