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