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