1 2004-01-27 Daniel Jacobowitz <drow@mvista.com>
3 * dwarf2read.c: Update calls to changed and renamed functions, and
4 references to moved variables.
6 (struct dwarf2_cu): Add first_fn, last_fn, cached_fn,
7 language, language_defn, list_in_scope, and ftypes members.
8 (cu_first_fn, cu_last_fn, cu_cached_fn, cu_language)
9 (cu_language_defn, list_in_scope, ftypes, cu_header_offset)
10 (baseaddr): Remove globals.
12 (dwarf_attr): Renamed to dwarf2_attr. Add CU argument.
13 (set_cu_language, die_is_declaration, die_specification)
14 (determine_prefix, determin_prefix_aux, class_name, namespace_name)
15 (dwarf2_linkage_name, dwarf2_name, dwarf2_extension)
16 (dwarf2_get_ref_die_offset, dwarf2_fundamental_type)
17 (initialize_cu_func_list, add_to_cu_func_list): Add CU argument.
19 (dwarf2_build_psymtabs_hard): Add local baseaddr. Initialize
20 cu.list_in_scope. Don't initialize cu_header_offset.
21 (add_partial_symbol): Add local baseaddr.
22 (psymtab_to_symtab_1): Add local baseaddr. Use
23 objfile->section_offsets for consistency. Don't initialize
24 cu_header_offset; do initialize cu.header.offset and
26 (read_file_scope, read_func_scope, read_lexical_block_scope)
27 (dwarf_decode_lines, new_symbol): Add local baseaddr.
29 2004-01-27 Michael Chastain <mec.gnu@mindspring.com>
31 * PROBLEMS: Add gdb/1516.
33 2003-12-29 Robert Millan <robertmh@gnu.org>
35 Patch committed by Andrw Cagney.
36 * configure.host: Match knetbsd*-gnu and kfreebsd*-gnu.
37 * configure.tgt: Match knetbsd*-gnu.
39 2004-01-26 Andrew Cagney <cagney@redhat.com>
41 * breakpoint.c (catch_command_1): Delete #ifdef code.
42 (catch_fork_command_1): Delete #ifdef wrapper.
43 (catch_exec_command_1): Ditto.
44 (catch_load_command_1): Ditto.
45 (catch_unload_command_1): Ditto.
47 * breakpoint.c (watchpoint_check): Delete #if0ed variable.
48 (catch_breakpoint): Delete #if0ed function.
49 (disable_catch_breakpoint): Ditto.
50 (delete_catch_breakpoint, enable_catch_breakpoint): Ditto.
51 (disable_catch, enable_catch, delete_catch): Ditto.
53 2004-01-26 Andrew Cagney <cagney@redhat.com>
55 * remote.c (echo_check, quit_flag): Delete variables.
56 (cisco_kernel_mode): Delete variable.
57 (minitelnet_return, tty_input, escape_count): Delete variables.
58 (remote_cisco_mode): Delete variable.
59 (remote_cisco_open, remote_cisco_close): Delete function.
60 (remote_cisco_mourn, remote_cisco_wait): Delete function.
61 (init_remote_cisco_ops): Delete function.
62 (_initialize_remote): Do not install "remote cisco" code.
63 (read_frame): Delete cisco specific code.
64 (remote_info_process): Delete function.
65 (remote_wait): Delete cisco specific code.
66 (remote_cisco_section_offsets): Delete function.
67 (remote_cisco_objfile_relocate): Delete function.
68 (remote_async_wait): Delete cisco specific code.
69 (minitelnet, readtty, readsocket): Delete function.
71 2004-01-26 Andrew Cagney <cagney@redhat.com>
73 * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS): Deprecate. Add
74 comments mentioning extract_returned_value_address.
75 * infcmd.c (print_return_value): Update. Add comments on
76 extract_returned_value_address.
77 * stack.c (return_command): Add comments on
78 extract_returned_value_address.
79 * values.c: Update comment.
80 * m32r-tdep.c: Update comment.
81 * sparc-tdep.c: Update comment.
82 * ia64-tdep.c (ia64_use_struct_convention): Update comment.
83 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
84 * sh64-tdep.c (sh64_gdbarch_init): Update.
85 * sh-tdep.c (sh_gdbarch_init): Update.
86 * s390-tdep.c (s390_gdbarch_init): Update.
87 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
88 * m68klinux-tdep.c (m68k_linux_init_abi): Update.
89 * m68k-tdep.c (m68k_gdbarch_init): Update.
90 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
91 * m32r-tdep.c (m32r_gdbarch_init): Update.
92 * ia64-tdep.c (ia64_gdbarch_init): Update.
93 * h8300-tdep.c (h8300_gdbarch_init): Update.
94 * frv-tdep.c (frv_gdbarch_init): Update.
95 * arm-tdep.c (arm_gdbarch_init): Update.
96 * alpha-tdep.c (alpha_gdbarch_init): Update.
98 2004-01-26 Andrew Cagney <cagney@redhat.com>
100 * dwarf2loc.c (dwarf_expr_frame_base): Use SYMBOL_OPS instead of
101 SYMBOL_LOCATION_FUNCS
102 (dwarf2_loclist_funcs, dwarf2_locexpr_funcs): Change type to
104 * dwarf2loc.h (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Change
105 type to "struct symbol_ops".
106 * symtab.h (struct symbol_ops): Rename "struct location_funcs".
107 (struct symbol): Replace ".aux_value.loc.funcs" and
108 ".aux_value.loc.baton" with ".ops" and ".aux_value.ptr".
109 (SYMBOL_OBJFILE): Delete macro.
110 (SYMBOL_LOCATION_FUNCS): Delete macro.
111 (SYMBOL_LOCATION_BATON): Update.
112 * dwarf2read.c (dwarf2_symbol_mark_computed): Set SYMBOL_OPS
113 intead of SYMBOL_LOCATION_FUNCS.
114 * ax-gdb.c (gen_var_ref): Ditto.
115 * printcmd.c (address_info): Ditto.
116 * findvar.c (read_var_value): Ditto.
117 (symbol_read_needs_frame): Ditto.
119 2004-01-26 Andrew Cagney <cagney@redhat.com>
121 * dwarf2read.c (read_func_scope): Document frame-base hack.
123 2004-01-25 Mark Kettenis <kettenis@gnu.org>
125 * infcmd.c (print_return_value): Plug memory leak; delete
126 ui_stream object. Rename argument `structure_return' to
129 2004-01-25 Mark Kettenis <kettenis@gnu.org>
131 * infcmd.c (print_return_value): Wrap long lines.
132 (finish_command_continuation, finish_command): Remove unused
133 variable `funcaddr'. Fix some coding-standards problems.
135 * sparc-tdep.c (sparc_regset_from_core_section): Check whether
136 SECT_SIZE is large enough, not wheter it's exactly the right size.
137 (sparc32_gdbarch_init): Initialize TDEP->sizeof_gregset and
138 TDEP->fpregset to zero.
140 * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Also supply the
141 floating-point registers for traditional NetBSD core files.
142 (sparc32nbsd_init_abi): Initialize TDEP->sizeof_gregset and
143 TDEP->sizeof_fpregset here.
145 2004-01-25 Mark Kettenis <kettenis@gnu.org>
147 * sparc-tdep.h (sparc32nbsd_sigcontext_saved_regs): New prototype.
148 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): New
149 function with code split out from
150 sparc32nbsd_sigcontext_frame_cache.
151 (sparc32nbsd_sigcontext_frame_cache): Use
152 sparc32nbsd_sigcontext_saved_regs.
153 (_initialize_sparc32nbsd_tdep): Don't register OS ABI handler for
155 * sparcobsd-tdep.c: New file.
156 * Makefile.in (ALLDEPFILES): Add sparcobsd-tdep.c.
157 (sparcobsd-tdep.o): New dependency.
158 * configure.tgt (sparc-*-openbsd*): Set gdb_target to obsd.
159 * config/sparc/obsd.mt: New file.
161 * sparc-tdep.c (sparc32_gdbarch_init): Don't require
162 TDEP->fpregset to be initialized to enable core file register
165 2004-01-24 Mark Kettenis <kettenis@gnu.org>
167 * sparc64-tdep.h (struct frame_info, struct trad_frame_saved_reg):
168 Add opaque declarations.
169 (sparc64nbsd_sigcontext_saved_regs): New prototype.
170 * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): New
171 function with code split out from
172 sparc64nbsd_sigcontext_frame_cache.
173 (sparc64nbsd_sigcontext_frame_cache): Use
174 sparc64nbsd_sigcontext_saved_regs.
175 (_initialize_sparc64nbsd_tdep): Don't register OS ABI handler for
177 * sparc64obsd-tdep.c: New file.
178 * Makefile.in (ALLDEPFILES): Add sparc64obsd-tdep.c.
179 (sparc64obsd-tdep.o): New dependency.
180 * configure.tgt (sparc64-*-openbsd*): Set gdb_target to obsd64 and
181 gdb_osabi to GDB_OSABI_OPENBSD_ELF.
182 * config/sparc/obsd64.mt: New file.
184 * sparc-tdep.c (sparc_fetch_instruction): Return zero if we can't
185 read the instruction at PC.
187 * sparcnbsd-tdep.c (GDB_OSABI_NETBSD_CORE): Define, based on the
188 value of GDB_OSABI_DEFAULT.
189 (sparcnbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_CORE
190 instead of GDB_OSABI_NETBSD_AOUT.
192 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
194 * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-cmds.h: Update
197 2004-01-23 Andrew Cagney <cagney@redhat.com>
199 * printcmd.c (display_command): Replace tui_set_display call with
200 tui_set_layout_for_display_command.
201 * tui/tui.h (enum tui_win_type): Define.
202 (tui_set_layout): Delete declaration.
203 (tui_set_layout_for_display_command): Rename set_tui_layout.
204 * tui/tui-data.h (enum tui_layout_type): Define.
205 * tui/tui-layout.h: Update copyright. Include "tui-data.h" and
207 (tui_add_win_to_layout): Rename tuiAddWinToLayout.
208 (tui_default_win_height): Rename tuiDefaultWinHeight.
209 (tui_default_win_viewport_height): Rename
210 tuiDefaultWinViewportHeight.
211 (tui_set_layout): RenametuiSetLayout.
212 * tui/tui-layout.c: Update references.
213 * tui/tui.c: Update references.
214 * tui/tui-disasm.c: Update references.
216 2004-01-23 David Carlton <carlton@kealia.com>
218 Partial workaround for PR c++/1511:
219 * cp-namespace.c: Include frame.h.
220 (cp_lookup_transparent_type): New
221 (cp_lookup_transparent_type_loop): New.
222 * cp-support.h: Declare cp_lookup_transparent_type.
223 * symtab.c (basic_lookup_transparent_type): Renamed from
224 lookup_transparent_type.
225 (lookup_transparent_type): Replace old body by a call to
226 current_language->la_lookup_transparent_type.
227 * symtab.h: Update copyright. Declare
228 basic_lookup_transparent_type.
229 * language.h: Update copyright.
230 (struct language_defn): Add la_lookup_transparent_type.
231 * language.c: Update copyright.
232 (unknown_language_defn): Add basic_lookup_transparent_type.
233 (auto_language_defn): Add basic_lookup_transparent_type.
234 (local_language_defn): Add basic_lookup_transparent_type.
235 * ada-lang.c: Update copyright.
236 (ada_language_defn): Add basic_lookup_transparent_type.
237 * c-lang.c: Update copyright.
238 (c_language_defn): Add basic_lookup_transparent_type.
239 (cplus_language_defn): Add basic_lookup_transparent_type.
240 (asm_language_defn): Add basic_lookup_transparent_type.
241 (minimal_language_defn): Add basic_lookup_transparent_type.
242 * f-lang.c: Update copyright.
243 (f_language_defn): Add basic_lookup_transparent_type.
244 * jv-lang.c: Update copyright.
245 (java_language_defn): Add basic_lookup_transparent_type.
246 * m2-lang.c: Update copyright.
247 (m2_language_defn): Add basic_lookup_transparent_type.
248 * objc-lang.c: Update copyright.
249 (objc_language_defn): Add basic_lookup_transparent_type.
250 * p-lang.c: Update copyright.
251 (p_language_defn): Add basic_lookup_transparent_type.
252 * scm-lang.c: Update copyright.
253 (scm_language_defn): Add basic_lookup_transparent_type.
254 * Makefile.in (cp-namespace.o): Depend on frame.h.
256 2004-01-23 David Carlton <carlton@kealia.com>
258 Patch for PR c++/1520:
259 * dwarf2read.c (read_func_scope): Set processing_current_prefix
260 properly if we have a specification die.
261 (determine_prefix_aux): Rename from determine_prefix.
262 (determine_prefix): Like the old determine_prefix, but never
265 2004-01-23 Theodore A. Roth <troth@openavr.org>
267 * avr-tdep.c: Update copyright.
268 (avr_iaddr_p): Delete unused function.
269 (avr_saddr_p): Delete unused function.
271 2004-01-23 David Carlton <carlton@kealia.com>
273 * symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab.
274 Fix for PR symtab/1534.
276 2004-01-23 Mark Kettenis <kettenis@gnu.org>
278 * NEWS (New native configurations): Mention OpenBSD/sparc and
280 * configure.tgt: Add sparc-*-openbsd* and sparc64-*-openbsd*.
281 * configure.host: Likewise.
282 * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Register OS ABI
284 * sparc64nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Likewise.
286 2004-01-22 Mark Kettenis <kettenis@gnu.org>
288 * sparcnbsd-tdep.c (sparcnbsd_core_osabi_sniffer): New function.
289 (_initialize_sparnbsd_tdep): Register sparcnbsd_core_osabi_sniffer.
291 * ser-pipe.c (pipe_open): Use proper null pointer in execl call.
292 * cli/cli-cmds.c (shell_escape): Likewise.
294 * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Recognize
295 OpenBSD .note.openbsd.ident sections.
297 2004-01-22 David Carlton <carlton@kealia.com>
299 * dwarf2read.c (psymtab_to_symtab_1): Calculate lowpc, highpc via
301 (read_file_scope): Ditto.
302 (get_scope_pc_bounds): New function, produced by extracting code
303 from the above two functions, consolidating it, and adding support
304 for DW_TAG_namespace.
306 2004-01-22 Mark Kettenis <kettenis@gnu.org>
308 * osabi.c (MAX_NOTESZ): New define.
309 (check_note): New function.
310 (generic_elf_osabi_sniff_abi_tag_sections): Reorganize code using
313 2004-01-21 Roland McGrath <roland@redhat.com>
315 * MAINTAINERS (write after approval): Add myself.
317 2004-01-21 Eli Zaretskii <eliz@gnu.org>
319 * utils.c (init_page_info): Move declarations of `rows' and
320 `cols' before the __GO32__-specific code. Move the closing brace
321 outside the #ifdef __GO32__..#endif block.
322 [__GO32__]: Use `rows' and `cols' to avoid compiler warnings.
324 2004-01-21 Paul Brook <paul@codesourcery.com>
326 * infrun.c (handle_inferior_event): Check stop_stack_dummy if handling
327 BPSTAT_WHAT_CHECK_SHLIBS.
329 2004-01-21 Paul Brook <paul@codesourcery.com>
331 * MAINTAINERS: Add myself to write-after-approval.
333 2004-01-20 Andrew Cagney <cagney@redhat.com>
335 * ax-gdb.c (print_axs_value): Delete unused function.
336 * jv-lang.c (java_lookup_type): Delete unused function.
337 * cli/cli-dump.c (dump_filetype): Delete unused function.
338 * remote-mips.c (remote_mips_insert_hw_breakpoint)
339 (remote_mips_remove_hw_breakpoint): Delete unused functions.
340 (mips_getstring): Delete unused function.
341 (pmon_insert_breakpoint): Delete #if0ed function.
342 (PMON_MAX_BP): Delete #if0ed MACRO.
343 (mips_pmon_bp_info): Delete #if0ed variable.
344 (pmon_remove_breakpoint): Delete #if0ed function.
345 * monitor.c (monitor_write_even_block): Delete unused function.
346 (monitor_write_memory_block): Delete #if0ed code.
347 * dink32-rom.c (dink32_load): Delete unused function.
348 (_initialize_dink32_rom): Delete #if0ed code.
349 * d10v-tdep.c (d10v_daddr_p): Delete unused function.
351 * tui/tui-command.c: Update references.
352 * tui/tui-io.c: Update references.
353 * tui/tui-command.h: Update copyright.
354 (tui_dispatch_ctrl_char): Rename tuiDispatchCtrlChar.
356 * source.c (ambiguous_line_spec): Delete never-defined function.
357 * remote-rdi.c (arm_rdi_mourn, arm_rdi_send): Ditto.
358 * gdbtypes.c (add_name, add_mangled_type): Ditto.
359 * cli/cli-cmds.c (validate_comname): Ditto.
361 * tui/tui-disasm.h: Update copyright. Include "tui.h" and
363 (tui_set_disassem_content): Rename tuiSetDisassemContent.
364 (tui_show_disassem): Rename tuiShowDisassem.
365 (tui_show_disassem_and_update_source): Rename
366 tuiVerticalDisassemScroll.
367 (tui_vertical_disassem_scroll): Rename tuiVerticalDisassemScroll.
368 (tui_get_begin_asm_address): Rename tuiGetBeginAsmAddress.
369 * tui/tui.h: Update copyright.
370 (enum tui_status): Define.
371 * tui/tui-data.h (enum tui_scroll_direction): Define.
372 * tui/tui-disasm.c: Update copyright. Update references.
373 * tui/tui-winsource.c: Update copyright. Update references.
374 * tui/tui-win.c: Update references.
375 * tui/tui-layout.c: Update references.
377 2004-01-20 Andrew Cagney <cagney@redhat.com>
379 * mi/mi-cmd-stack.c (list_args_or_locals): Move declaration of
380 sym2 to start of block.
382 2004-01-19 Michael Chastain <mec.gnu@mindspring.com>
384 * MAINTAINERS: Delete mmalloc.
385 * Makefile.in: Delete MMALLOC, MMALLOC_CFLAGS, -lmmalloc, mmalloc_h.
386 * NEWS: Mention removal of --with-malloc.
387 * acconfig.h: Delete USE_MMALLOC, MMCHECK_FORCE.
388 * config.in: Regenerate.
389 * configure: Regenerate.
390 * configure.in: Delete MMALLOC_CFLAGS, MMALLOC, --with-mmalloc,
391 USE_MMALLOC, MMCHECK_FORCE.
392 * gdbinit.in: Remove mmalloc.
393 * utils.c: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, malloc_botch.
394 * config/alpha/alpha-linux.mh: Delete MMALLOC, MMALLOC_CFLAGS.
395 * config/i386/go32.mh: Likewise.
396 * config/i386/interix.mh: Likewise.
397 * config/powerpc/xm-linux.h: Delete MMAP_BASE_ADDRESS, MMAP_INCREMENT.
399 2004-01-19 Jeff Johnston <jjohnstn@redhat.com>
401 * linespec.c (decode_variable, symtab_from_filename): Call
402 error_silent with error message instead of throwing an exception
404 * defs.h (error_silent, error_output_message): Add prototypes.
405 (catch_exceptions_with_msg): Ditto.
406 * utils.c (error_silent, error_output_message): New functions.
407 * top.c (catch_exceptions_with_msg): New function.
409 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
411 * mi/mi-cmds.h (enum print_values): Add definition.
413 * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Print the name,
414 type and value for simple data types and just the name and type
415 for complex ones, if required.
417 * mi/mi-cmd-var.c (mi_cmd_var_list_children): Print the values of the
418 children, if required.
420 2004-01-19 Kevin Buettner <kevinb@redhat.com>
422 * frv-tdep.c (frv_push_arguments, frv_saved_pc_after_call): Delete
425 2004-01-19 Andrew Cagney <cagney@redhat.com>
427 * top.h (mapped_symbol_files): Delete declaration.
428 * main.c (captured_main): Delete option "m" and "mapped".
429 * objfiles.c (mapped_symbol_files): Delete variable.
430 * symfile.c (symbol_file_command): Delete mmap code.
431 (symbol_file_add_with_addrs_or_offsets): Ditto.
432 (add_symbol_file_command, reread_separate_symbols): Ditto.
433 * objfiles.h (OBJF_MAPPED): Delete.
434 * objfiles.c (allocate_objfile) [USE_MMALLOC]: Delete.
435 (free_objfile) [USE_MMALLOC]: Ditto.
436 (open_existing_mapped_file): Delete function.
437 (open_mapped_file): Delete function.
438 (map_to_file): Delete function.
440 2004-01-19 Kevin Buettner <kevinb@redhat.com>
442 * infrun.c (step_into_function): Account for possible breakpoint
443 adjustment when computing ``stop_func_start''.
445 2004-01-19 Kevin Buettner <kevinb@redhat.com>
447 * target.c (default_region_size_ok_for_hw_watchpoint): Compare
448 the region size against the size of a pointer, not the size of
449 a register as given by DEPRECATED_REGISTER_SIZE.
451 2004-01-19 Andrew Cagney <cagney@redhat.com>
453 * tui/tui-regs.h: Include "tui-data.h".
454 (tuiFirstRegElementNoInLine): Delete declaration.
455 (tui_display_registers_from): Rename tuiDisplayRegistersFrom.
456 (tui_last_regs_line_no): Rename tuiLastRegsLineNo.
457 (tui_line_from_reg_element_no): Rename tuiLineFromRegElementNo.
458 (tui_calculate_regs_column_count): Rename
459 tuiCalculateRegsColumnCount.
460 (tui_check_register_values): Rename tuiCheckRegisterValues.
461 (tui_show_registers): Rename tuiShowRegisters.
462 (tui_display_registers_from_line): Rename
463 tuiDisplayRegistersFromLine.
464 (tui_first_reg_element_inline): Rename tuiFirstRegElementInLine.
465 (tui_toggle_float_regs): Rename tuiToggleFloatRegs.
466 (tui_first_reg_element_no_inline): Rename
467 tuiFirstRegElementNoInLine.
468 * tui/tui-data.h: Update copyright.
469 (enum tui_register_display_type): Rename _TuiRegisterDisplayType.
470 * tui/tui-windata.c: Update copyright, update references.
471 * tui/tui-regs.c: Update copyright, update references.
472 * tui/tui-win.c: Update copyright, update references.
473 * tui/tui-layout.c: Update copyright, update references.
475 2004-01-18 Andrew Cagney <cagney@redhat.com>
477 * tui/tui-io.c: Update copyright.
478 (key_is_end_sequence, key_is_backspace): New functions.
479 (key_is_command_char, key_is_start_sequence): New function.
480 (tui_getc): Update references.
481 * tui/tui-io.h: Update copyright.
482 (m_tuiStartNewLine): Delete macro.
483 (m_isBackspace, m_isDeleteChar): Delete macros.
484 (m_isDeleteLine, m_isDeleteToEol): Delete macros.
485 (m_isNextPage, m_isPrevPage): Delete macros.
486 (m_isLeftArrow, m_isRightArrow): Delete macros.
487 (m_isXdbStyleCommandChar): Delete macro.
488 (key_is_start_sequence): Declare, replace m_isStartSequence.
489 (key_is_end_sequence): Declare, replace m_isEndSequence.
490 (key_is_backspace): Declare ,replace m_isBackspace.
491 (key_is_command_char): Declare, replace m_isCommandChar.
492 * tui/tui-command.c: Update copyright.
493 (tuiDispatchCtrlChar): Update references.
495 * config/djgpp/fnchange.lst: Delete tui/tuiSourceWin.c and
498 * tui/tui-command.c: Rename tui/tuiCommand.c.
499 * tui/tui-command.h: Rename tui/tuiCommand.h.
500 * tui/tui-data.c: Rename tui/tuiData.c.
501 * tui/tui-data.h: Rename tui/tuiData.h.
502 * tui/tui-disasm.c: Rename tui/tuiDisassem.c.
503 * tui/tui-disasm.h: Rename tui/tuiDisassem.h.
504 * tui/tui-io.c: Rename tui/tuiIO.c.
505 * tui/tui-io.h: Rename tui/tuiIO.h.
506 * tui/tui-layout.c: Rename tui/tuiLayout.c.
507 * tui/tui-layout.h: Rename tui/tuiLayout.h.
508 * tui/tui-regs.c: Rename tui/tuiRegs.c.
509 * tui/tui-regs.h: Rename tui/tuiRegs.h.
510 * tui/tui-source.c: Rename tui/tuiSource.c.
511 * tui/tui-source.h: Rename tui/tuiSource.h.
512 * tui/tui-stack.c: Rename tui/tuiStack.c.
513 * tui/tui-stack.h: Rename tui/tuiStack.h.
514 * tui/tui-win.c: Rename tui/tuiWin.c.
515 * tui/tui-win.h: Rename tui/tuiWin.h.
516 * tui/tui-windata.c: Rename tui/tuiDataWin.c.
517 * tui/tui-windata.h: Rename tui/tuiDataWin.h.
518 * tui/tui-wingeneral.c: Rename tui/tuiGeneralWin.c.
519 * tui/tui-wingeneral.h: Rename tui/tuiGeneralWin.h.
520 * tui/tui-winsource.c: Rename tui/tuiSourceWin.c.
521 * tui/tui-winsource.h: Rename tui/tuiSourceWin.h.
522 * tui/tui-file.c: Update includes.
523 * tui/tui-hooks.c: Update includes.
524 * tui/tui-interp.c: Update includes.
525 * tui/tui.c: Update includes.
526 * Makefile.in: Update all tui/ dependencies.
527 (SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS): Update file names.
529 * Makefile.in: Update copyright. Update dependencies.
531 * tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile
534 2004-01-18 Andrew Cagney <cagney@redhat.com>
536 * mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register
537 instead of register_gdbarch_init.
539 * remote-sds.c (tohex): Delete unused function. Update copyright.
540 * xstormy16-tdep.c (xstormy16_register_virtual_size): Ditto.
541 * v850-tdep.c (v850_register_virtual_size): Ditto.
542 * target.c (normal_target_post_startup_inferior): Ditto.
543 * source.c (ambiguous_line_spec): Ditto.
544 * remote.c (adapt_remote_get_threadinfo): Ditto.
545 * mi/mi-out.c (out_field_fmt): Ditto.
546 * mi/mi-interp.c (mi_interp_read_one_line_hook): Ditto.
547 (output_control_change_notification): Ditto.
548 * m68k-tdep.c (m68k_register_byte): Ditto.
549 (m68k_remote_breakpoint_from_pc): Ditto.
550 * ui-out.c (init_ui_out_state): Delete unused declaration.
551 * stabsread.c (search_value): Ditto.
552 * mi/mi-cmd-env.c (env_cli_command): Ditto.
553 * maint.c (print_section_table): Ditto.
554 * infrun.c (set_follow_fork_mode_command): Ditto.
556 2004-01-18 Mark Kettenis <kettenis@gnu.org>
558 * dwarf2-frame.c (execute_cfa_program): Move DWA_CFA_nop before
559 DW_CFA_def_cfa_exporession. Add support for
560 DW_CFA_offset_extendend_sf, DW_CFA_def_cfa_sf and
561 DW_CFA_def_cfa_offset_sf. This should fix PR backtrace/1391.
563 2004-01-18 Andrew Cagney <cagney@redhat.com>
565 * ocd.c: Update copyright.
566 (bdm_read_register_command): Delete unused function.
567 (_initialize_remote_ocd): Delete commented out reference.
568 (get_quoted_char, reset_packet): Delete #if0ed function.
569 (output_packet, put_quoted_char): Delete #if0ed function.
570 (stu_put_packet, stu_get_packet): Delete #if0ed function.
571 (ocd_start_remote): Delete #if0ed code, remove #if1 wrapper.
572 (BDM_BREAKPOINT): Delete #if0ed macro.
573 (remote_timeout): Delete #if0ed variable.
575 2004-01-18 Mark Kettenis <kettenis@gnu.org>
577 * Makefile.in (ALLDEPFILES): Remove core-sol2.c.
578 (core-sol2.o): Remove dependency.
579 * core-sol2.c: Remove file.
581 2004-01-17 Andrew Cagney <cagney@redhat.com>
583 * mdebugread.c (compare_blocks): Make addr_diff a LONGEST.
584 * block.h: Make GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOOCK
587 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
589 * remote.c: Update copyright years.
591 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
593 * remote.c (remote_vcont_resume): Use xstrprintf instead of sprintf.
595 2004-01-17 Andrew Cagney <cagney@redhat.com>
597 * mdebugread.c: Update copyright.
598 (parse_symbol): Replace DEPRECATED_STREQ with strcmp.
599 (parse_type, parse_procedure): Ditto.
600 (parse_partial_symbols, psymtab_to_symtab_1): Ditto.
602 * cris-tdep.c (cris_store_struct_return): Put back accidently
605 * gdbarch.sh: Update copyright year.
606 * gdbarch.h, gdbarch.c: Re-generate.
608 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
610 Suggested by George Anzinger.
611 * dwarf2expr.c (execute_stack_op): Fetch the second item from the
612 correct stack offset. Include unknown opcode numbers in the error
615 2004-01-17 Andrew Cagney <cagney@redhat.com>
617 * x86-64-tdep.c (x86_64_init_abi): No need to clear
618 extract_struct_value_address, i386 does not set it.
619 * sparc64-tdep.c (sparc64_init_abi): Do not set
620 extract_struct_value_address, never called.
621 (sparc64_extract_struct_value_address): Delete function.
622 * m68hc11-tdep.c: Update copyright.
623 (m68hc11_gdbarch_init): Delete redundant assignment of
624 extract_struct_value_address.
625 * i386-tdep.c: Update copyright.
626 (i386_gdbarch_init): Do not set extract_struct_value_address,
628 (i386_extract_struct_value_address): Delete function.
629 * sparc-tdep.c (sparc32_gdbarch_init): Do not set
630 extract_struct_value_address, never called.
631 (sparc32_extract_struct_value_address): #if 0 function. Add
632 comments explaining its future.
634 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
636 * arm-tdep.c (arm_write_pc): New function.
637 (arm_gdbarch_init): Call set_gdbarch_write_pc.
639 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
641 * breakpoint.c (must_shift_inst_regs): Delete.
642 (bpstat_stop_status): Delete references to DECR_PC_AFTER_HW_BREAK
644 * infcmd.c (step_1, step_1_continuation): Delete references to
646 * infrun.c (keep_going): Likewise.
647 * target.h (DECR_PC_AFTER_HW_BREAK): Don't define.
648 * config/i386/nm-i386.h (DECR_PC_AFTER_HW_BREAK): Likewise.
650 2004-01-17 Andrew Cagney <cagney@redhat.com>
652 * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
653 * gdbarch.h, gdbarch.c: Re-generate.
654 * infcmd.c (print_return_value): Delete reference to
655 DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS.
657 * cris-tdep.c (cris_gdbarch_init): Do not set
658 deprecated_extract_struct_value_address.
660 * xstormy16-tdep.c: Update copyright.
661 (xstormy16_extract_struct_value_address): Update to current
662 extract struct value address interface.
663 (xstormy16_gdbarch_init): Set extract_struct_value_address.
664 * sh64-tdep.c (sh64_extract_struct_value_address): Update to
665 current extract struct value address interface.
666 (sh64_gdbarch_init): Set extract_struct_value_address.
668 * cris-tdep.c: Update copyright.
669 (cris_extract_struct_value_address): Delete function.
670 (struct_return_address): Delete variable.
671 (cris_store_struct_return): Do not set struct_return_address.
673 * mcore-tdep.c: Update copyright.
674 (mcore_extract_struct_value_address): Delete function. Update
676 (mcore_gdbarch_init): Update.
677 * mn10300-tdep.c: Update copyright.
678 (mn10300_extract_struct_value_address): Delete function.
679 (mn10300_gdbarch_init): Update.
680 * v850-tdep.c: Update copyright.
681 (v850_extract_struct_value_address): Delete.
682 (v850_gdbarch_init): Update.
683 * ns32k-tdep.c: Update copyright.
684 (ns32k_extract_struct_value_address): Delete.
685 (ns32k_gdbarch_init): Update.
686 * hppa-tdep.c (hppa_extract_struct_value_address): Delete.
687 (hppa_gdbarch_init): Update.
688 * vax-tdep.c: Update copyright.
689 (vax_extract_struct_value_address): Delete.
690 (vax_gdbarch_init): Update.
692 * gdbarch.sh (DEPRECATED_NPC_REGNUM): Delete.
693 * gdbarch.h, gdbarch.c: Re-generate.
694 * procfs.c (procfs_fetch_registers): Delete reference to
695 DEPRECATED_NPC_REGNUM.
696 (procfs_store_registers): Ditto.
697 * regcache.c (generic_target_write_pc): Simplify.
698 * lynx-nat.c: Delete #ifdef SPARC code. Not used.
700 * core-sol2.c (fetch_core_registers): Replace
701 DEPRECATED_NPC_REGNUM with equivalent tdep value.
703 * hppa-tdep.c: Update copyright year.
704 (hppa_target_write_pc): Use PCOQ_TAIL_REGNUM instead of
706 (hppa_gdbarch_init): Do not set deprecated_npc_regnum.
708 * mips-tdep.c (mips_write_pc): New function.
709 (mips_gdbarch_init): Set "write_pc" to "mips_write_pc".
710 (mips_read_pc): Use mips_regnum instead of PC_REGNUM.
711 (mips_find_saved_regs, mips_software_single_step: Ditto.
712 (mips_frame_saved_pc, mips_frame_saved_pc): Ditto.
713 mips_init_extra_frame_info, mips_pop_frame): Ditto.
715 2004-01-17 Andrew Cagney <cagney@redhat.com>
717 * mips-tdep.c: Re-indent. Group functions by ABI.
719 2004-01-17 Andrew Cagney <cagney@redhat.com>
721 * gdbarch.sh (DECR_PC_AFTER_BREAK): Make zero the default.
722 * gdbarch.c: Re-generate.
723 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
724 DECR_PC_AFTER_BREAK to zero.
725 * vax-tdep.c (vax_gdbarch_init): Ditto.
726 * v850-tdep.c (v850_gdbarch_init): Ditto.
727 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
728 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
729 * sh-tdep.c (sh_gdbarch_init): Ditto.
730 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
731 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
732 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
733 * mips-tdep.c (mips_gdbarch_init): Ditto.
734 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
735 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
736 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
737 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
738 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
739 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
740 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
741 * frv-tdep.c (frv_gdbarch_init): Ditto.
742 * cris-tdep.c (cris_gdbarch_init): Ditto.
743 * avr-tdep.c (avr_gdbarch_init): Ditto.
744 * arm-tdep.c (arm_gdbarch_init): Ditto.
745 * i386-nto-tdep.c (i386nto_init_abi): Add comment.
747 2004-01-17 J. Brobecker <brobecker@gnat.com>
749 * dwarf2read.c (dwarf2_non_const_array_bound_ignored_complaint):
750 Delete, no longer used.
751 (read_subrange_type): New function, mostly extracted from
753 (read_array_type): Replace extracted code by call to
754 read_subrange_type().
755 (dwarf2_get_attr_constant_value): New function.
756 (scan_partial_symbols): Add handling for DW_TAG_subrange_type.
757 (add_partial_symbol): Likewise.
758 (process_die): Likewise.
759 (new_symbol): Likewise.
760 (read_type_die): Likewise.
762 2004-01-16 Andrew Cagney <cagney@redhat.com>
764 * symfile.c: Update copyright year.
765 (compare_symbols): Delete unused function.
766 * stabsread.c: Update copyright year.
767 (lrs_general_complaint): Delete unused function.
768 (ref_search_value): Ditto.
769 (get_substring): Delete declaration.
770 * sh64-tdep.c: Update copyright year.
771 (sh64_get_gdb_regnum): Delete unused function.
772 * dwarf2read.c (dwarf2_unsupported_at_frame_base_complaint):
773 Delete unused function.
775 2004-01-17 Mark Kettenis <kettenis@gnu.org>
777 * defs.h (gdb_osabi): Add GDB_OSABI_OPENBSD_ELF.
778 * osabi.c (gdb_osabi_names): Add "OpenBSD ELF".
780 2004-01-16 Andrew Cagney <cagney@redhat.com>
782 Changes from Peter Schauer.
783 * rs6000-tdep.c: Update copyright year.
784 (rs6000_push_dummy_call): Update the stack pointer before
785 accessing the corresponding stack region.
786 * rs6000-nat.c: Update copyright year.
787 (set_host_arch): Set "info.abfd" to "exec_bfd".
789 2004-01-15 Mark Kettenis <kettenis@gnu.org>
791 * blockframe.c: Update copyright year.
792 (inside_entry_func): Don't treat a zero PC specially.
794 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
796 * gcore.c (gcore_copy_callback): Use paddr_d to print size
798 (gcore_create_callback): Ditto. Skip any memory segment that has
801 2004-01-14 David Carlton <carlton@kealia.com>
803 Change symbols for C++ nested types to contain the fully qualified
804 name, if possible. (At least in the DWARF-2 case.) Partial fix
805 for PR's c++/57, c++/488, c++/539, c++/573, c++/609, c++/832,
807 * c-exp.y (qualified_type): Handle types nested within classes.
808 * cp-namespace.c: Update comments.
809 (cp_set_block_scope): Delete #if 0.
810 (cp_lookup_nested_type): Handle types nested within classes.
811 * dwarf2read.c: (scan_partial_symbols): Call add_partial_structure
813 (add_partial_symbol): Add the name of the enclosing namespace to
815 (pdi_needs_namespace): New.
816 (add_partial_namespace): Tweak comment.
817 (add_partial_structure): New.
818 (psymtab_to_symtab_1): Initialize processing_current_prefix
820 (process_die): instead of here.
821 (read_structure_scope): Try to figure out the name of the class or
822 namespace that the structure might be defined within.
823 (read_enumeration): Generate fully-qualified names, if possible.
824 (read_namespace): Don't set name to NULL.
825 (die_specification): New.
826 (new_symbol): Generate fully-qualified names for types.
827 (read_type_die): Determine appropriate prefix.
828 (determine_prefix): New.
829 (typename_concat): New.
831 * valops.c (value_aggregate_elt): Pass NOSIDE to
832 value_struct_elt_for_reference.
833 (value_struct_elt_for_reference): Make static, add NOSIDE
834 parameter, call value_maybe_namespace_elt as a last resort.
835 (value_namespace_elt): Break out code into
836 value_maybe_namespace_elt.
837 (value_maybe_namespace_elt): New.
839 2004-01-12 Andrew Cagney <cagney@redhat.com>
841 * mips-tdep.c (mips_convert_register_p): Handle both raw and
842 cooked floating-point registers.
843 (mips_gdbarch_init): Set convert_register_p, register_to_value,
844 and value_to_register.
846 2004-01-13 Andrew Cagney <cagney@redhat.com>
848 * gdbarch.sh (FUNCTION_START_OFFSET): Make zero the default.
849 * gdbarch.c: Re-generate.
850 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
851 FUNCTION_START_OFFSET.
852 * v850-tdep.c (v850_gdbarch_init): Ditto.
853 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
854 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
855 * sh-tdep.c (sh_gdbarch_init): Ditto.
856 * s390-tdep.c (s390_gdbarch_init): Ditto.
857 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
858 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
859 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
860 * mips-tdep.c (mips_gdbarch_init): Ditto.
861 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
862 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
863 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
864 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
865 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
866 * i386-tdep.c (i386_gdbarch_init): Ditto.
867 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
868 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
869 * frv-tdep.c (frv_gdbarch_init): Ditto.
870 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
871 * cris-tdep.c (cris_gdbarch_init): Ditto.
872 * avr-tdep.c (avr_gdbarch_init): Ditto.
873 * arm-tdep.c (arm_gdbarch_init): Ditto.
874 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
876 2004-01-13 Daniel Jacobowitz <drow@mvista.com>
878 * infrun.c (follow_fork_mode_ask): Remove.
879 (follow_fork_mode_kind_names): Remove follow_fork_mode_ask.
880 (follow_fork): Simplify and remove internal error for
881 follow_fork_mode_ask.
882 (_initialize_infrun): Update "set follow-fork-mode" help text.
884 2004-01-13 Andrew Cagney <cagney@redhat.com>
886 * configure.in: Update copyright year.
887 (build_warnings): Add -Wunused-label.
888 * configure: Re-generate.
890 2004-01-12 Andrew Cagney <cagney@redhat.com>
892 * exec.h (exec_ops): Make "extern".
894 * mips-tdep.c (mips_pseudo_register_read): Don't return a value,
895 the function is void.
896 (mips_pseudo_register_write): Ditto.
898 2004-01-12 Andrew Cagney <cagney@redhat.com>
900 * stack.c (frame_info): Delete DEPRECATED_PRINT_EXTRA_FRAME_INFO
902 * sparc-tdep.h (struct frame_info): Add opaque declaration.
903 * sparc64-tdep.h (struct gdbarch): Add opaque declaration.
904 (struct sparc_gregset, struct regcache): Ditto.
905 * sparc-nat.c: Update copyright. Specify "GNU/Linux".
907 2004-01-12 Andrew Cagney <cagney@redhat.com>
909 * mi/ChangeLog: Delete file. Renamed to ...
910 * mi/ChangeLog-1999-2003: New file.
911 * tui/ChangeLog: Delete file. Renamed to ...
912 * tui/ChangeLog-1998-2003: New file.
914 2004-01-11 Mark Kettenis <kettenis@gnu.org>
916 * sparc64nbsd-tdep.c: Include "regset.h".
917 (sparc64nbsd_sizeof_struct_reg, sparc64nbsd_sizeof_struct_fpreg):
919 (fetch_core_registers): Remove function.
920 (sparc64nbsd_core_fns): Remove variable.
921 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): New
923 (sparc64nbsd_init_abi): Initialize TDEP->gregset,
924 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
925 (_initialize_sparc64nbsd_tdep): Remove call to add_core_fns.
927 * sparc-tdep.c (sparc32_extract_struct_value_address): Rename from
928 sparc_extract_struct_value_address.
929 (sparc32_gdbarch_init): Set extract_struct_value_address.
930 * sparc64-tdep.c (sparc64_extract_struct_value_address): New
932 (sparc64_init_abi): Set extract_struct_value_address. Don't set
933 return_value_on_stack.
935 * NEWS: Mention that %cs and %ss have been added to the AMD64
938 * frame.c: Update copyright year.
939 (get_prev_frame): Improve comment.
941 * sparc64fbsd-tdep.c: Include "regset.h".
942 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
944 (fetch_core_registers): Remove function.
945 (sparc64fbsd_core_fns): Remove variable.
946 (sparc64fbsd_supply_gregset, sparc64fbsd_supply_fpregset): New
948 (sparc64fbsd_init_abi): Initialize TDEP->gregset,
949 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
950 (_initialize_sparc64fbsd_tdep): Remove call to add_core_fns.
952 * sparcnbsd-tdep.c: Include "regset.h".
953 (fetch_core_registers): Remove function.
954 (sparcnbsd_core_fns, sparcnbsd_elfcore_fns): Remove varaibles.
955 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): New
957 (sparc32nbsd_init_abi): Initialize TDEP->gregset and
959 (_initialize_sparcnbsd_tdep): Remove calls to add_core_fns.
961 * sparc-tdep.h (struct regset): Provide opaque declaration.
962 (struct gdbarch_tdep): Add gregset, sizeof_gregset,
963 fpregset and sizeof_fpregset members.
964 * sparc-tdep.c (struct regset): Provide opaque declaration.
965 (sparc_regset_from_core_section): New function.
966 (sparc32_gdbarch_init): Initialize TDEP->gregset,
967 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_fpregset.
968 Set regset_from_core_section when appropriate.
970 2004-01-10 Mark Kettenis <kettenis@gnu.org>
972 * x86-64-tdep.c (amd64_non_pod_p): New function.
973 (amd64_classify_aggregate): Return class memory for non-POD
976 * x86-64-tdep.c (amd64_push_arguments): Add struct_return
977 argument. Use it to reserve a register if necessary.
978 (amd64_push_dummy_call): Pass STRUCT_RETURN in call to
979 amd64_push_arguments.
981 * x86-64-tdep.c (amd64_classify_aggregate): Ignore static fields.
983 * x86-64-tdep.c (amd64_register_info): Add %cs and %ss. Adjust
984 register numbers in comments.
985 * x86-64-tdep.h: Update copyright year.
986 (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM):
987 Adjust for addition of %cs and %ss.
988 * amd64fbsd-nat.c: Update copyright year.
989 (reg_offset): Add register offsets for %cs and %ss.
990 * amd64fbsd-tdep.c: Update copyright year.
991 (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss.
992 (amd64fbsd_sc_reg_offset): Likewise.
993 * x86-64-linux-nat.c: Update copyright year.
994 (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs
996 * amd64nbsd-nat.c: Update copyright year.
997 (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss.
998 * amd64nbsd-tdep.c: Update copyright year.
999 (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss.
1000 * x86-64-linux-tdep.c: Update copyright year.
1001 (user_to_gdb_regmap): Add mapping for %cs and %ss.
1002 (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss.
1003 * regformats/reg-x86-64.dat: Add %cs and %ss.
1005 * blockframe.c (inside_entry_func): Reformat. Introduce new local
1006 variables to prevent long lines. Update comments to reflect
1009 2004-01-09 David Carlton <carlton@kealia.com>
1011 Checked in by Elena Zannoni <ezannoni@redhat.com>.
1012 * dwarf2read.c (read_namespace): Pull out name-generating code
1013 into namespace_name. Rename previous_namespace to previous_prefix
1014 and processing_current_namespace to processing_current_prefix..
1015 (namespace_name): New function.
1016 (add_partial_symbol): Substitute uses of pdi->name with
1018 * cp-support.h: Rename processing_current_namespace to
1019 processing_current_prefix.
1020 Update copyright year.
1021 * cp-namespace.c: Rename processing_current_namespace to
1022 processing_current_prefix.
1023 Update copyright year.
1025 2004-01-09 Andrew Cagney <cagney@redhat.com>
1027 * jv-valprint.c, ser-unix.c: Add missing copyright years.
1029 2004-01-09 Mark Kettenis <kettenis@gnu.org>
1031 * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of
1033 (process_one_symbol): Deal with N_PATCH stabs.
1035 2004-01-09 Elena Zannoni <ezannoni@redhat.com>
1037 * dwarf2read.c (read_array_type): Discard FORTRAN_HACK macro and
1039 Update copyright year.
1041 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1043 * config/pa/tm-hppa.h: Update extern declarations for
1044 hppa32_hpux_frame_saved_pc_in_sigtramp,
1045 hppa32_hpux_frame_base_before_sigtramp, and
1046 hppa32_hpux_frame_find_saved_regs_in_sigtramp.
1048 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1050 * config/pa/tm-hppah.h: Update copyright years.
1052 2004-01-08 Andrew Cagney <cagney@redhat.com>
1054 * mips-tdep.c (mips_n32n64_reg_struct_has_addr): Delete function.
1055 (mips_o32_reg_struct_has_addr): Delete function.
1056 (mips_gdbarch_init): Update.
1057 (mips_extract_struct_value_address): Delete function.
1059 2004-01-08 David Mosberger <davidm@hpl.hp.com>
1061 * ia64-linux-tdep.c: Update GATE_AREA_END value to reflect
1064 2004-01-07 Andrew Cagney <cagney@redhat.com>
1066 * mips-tdep.c (mips_gdbarch_init): Set elf_flags to the previous
1067 architecture's elf flags (when available).
1069 * mips-tdep.c (mips_gdbarch_init): Move code determining the MIPS
1070 FPU to the start, check the MIPS FPU when looking for an old
1072 (set_mipsfpu_single_command): Update the architecture.
1073 (set_mipsfpu_double_command, set_mipsfpu_none_command): Ditto.
1075 * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Delete macro.
1076 (mips_mask_address_p): Add "tdep" parameter.
1077 (show_mask_address, mips_addr_bits_remove): Update.
1078 (mips_dump_tdep): Update.
1079 (MIPS_DEFAULT_STACK_ARGSIZE): Delete macro.
1080 (MIPS_STACK_ARGSIZE): Delete macro.
1081 (mips_stack_argsize, mips_eabi_push_dummy_call): Update.
1082 (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call): Update.
1083 (mips_o64_push_dummy_call, mips_o32_return_value): Update.
1084 (mips_dump_tdep): Update.
1085 (MIPS_SAVED_REGSIZE): Delete macro.
1086 (MIPS_DEFAULT_SAVED_REGSIZE): Delete macro.
1087 (mips_saved_regsize, mips_eabi_use_struct_convention): Update.
1088 (mips_eabi_reg_struct_has_addr, mips_find_saved_regs): Update.
1089 (mips_frame_saved_pc, mips16_heuristic_proc_desc): Update.
1090 (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call): Update.
1091 (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update.
1092 (mips_pop_frame, return_value_location): Update.
1093 (mips_n32n64_return_value, mips_dump_tdep): Update.
1095 * mips-tdep.c (mips_gdbarch_init): Clean up code selecting the
1098 * mips-tdep.c: Update copyright.
1099 (mips_gdbarch_init): Merge two code blocks handling the register
1100 name and number layout.
1102 2004-01-02 Pawel Ostrowski <pasza@zodiac.mimuw.edu.pl>
1104 * tracepoint.c (validate_actionline): Fix segv at EOF
1106 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1108 * hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME
1109 properly for static fields.
1111 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
1112 Jason Molenda <jmolenda@apple.com>
1114 * disasm.c: Update copyright to include 2004.
1115 (do_mixed_source_and_assembly): For uiout asm list
1116 and tuple cleanups, initialize to null_cleanup instead of
1117 NULL and do so prior to loop. Only reset when we close off
1118 the tuple/list. Move check for whether to close off the
1119 asm tuple/list to after dump_insns call where it will be run
1120 on each loop iteration.
1122 2004-01-05 Andrew Cagney <cagney@redhat.com>
1124 * ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED"
1125 should be a switch case and not a label.
1126 * mips-tdep.c (mips32_next_pc): Delete unused labels
1127 "greater_equal_branch" and "less_zero_branch".
1128 * jv-valprint.c (java_print_value_fields): Delete unused label
1131 * target.c (unpush_target): Only close a target that is in the
1134 2004-01-05 Mark Kettenis <kettenis@gnu.org>
1136 * sparc-tdep.c (sparc_extract_struct_value_address): Get the
1137 address from [sp + 64] instead of %o2.
1139 * frame.c (get_prev_frame): Don't try to unwind the PC. This
1140 fixes PR backtrace/1476.
1142 2004-01-05 Andrew Cagney <cagney@redhat.com>
1144 * libunwind-frame.h (struct frame_id): Add opaque declaration,
1145 move to start of file.
1146 * i386-tdep.h (struct regcache): Add opaque declaration.
1147 * config/ia64/nm-linux.h (struct target_ops): Add opaque
1149 * ia64-tdep.c (ia64_find_proc_info_x): Do not use __FUNCTION__.
1150 (ia64_gdbarch_init): Use "GNU/Linux" in comment.
1151 * win32-nat.c (fake_create_process): Use ISO C style definition.
1152 * stabsread.c (define_symbol): Delete #ifndef
1153 DEPRECATED_USE_REGISTER_NOT_ARG wrapper around
1154 stabs_argument_has_addr call, macro never defined.
1156 2004-01-04 Michael Chastain <mec.gnu@mindspring.com>
1158 * op50-rom.c: Delete.
1159 * w89k-rom.c: Delete.
1160 * Makefile.in: Remove references.
1162 2004-01-04 Mark Kettenis <kettenis@gnu.org>
1164 * x86-64-tdep.c: Update copyright year.
1165 (struct amd64_register_info): Rename from x86_64_register_info.
1166 (amd64_register_info): Rename from x86_64_register_info.
1167 (AMD64_NUM_REGS): Rename from X86_64_NUM_REGS.
1168 (amd64_register_name): Rename from x86_64_register_name.
1169 (amd64_register_type): Rename from x86_64_register_type.
1170 (amd64_dwarf_regmap): Rename from x86_64_dwarf_regmap.
1171 (amd64_dwarf_regmap_len): Rename from x86_64_dwarf_regmap_len.
1172 (amd64_dwarf_reg_to_regnum): Rename from
1173 x86_64_dwarf_reg_to_regnum.
1174 (amd64_convert_register_p): Rename from x86_64_convert_register_p.
1175 (amd64_push_dummy_call): Rename from x86_64_push_dummy_call.
1176 (AMD64_NUM_SAVED_REGS): Rename from X86_64_NUM_SAVED_REGS.
1177 (struct amd64_frame_cache): Renamed from x86_64_frame_cache.
1178 (amd64_alloc_frame_cache): Renamed from x86_64_alloc_frame_cache.
1179 (amd64_analyze_prologue): Rename from x86_64_analyze_prologue.
1180 (amd64_skip_prologue): Rename from x86_64_skip_prologue.
1181 (amd64_frame_cache): Rename from x86_64_frame_cache.
1182 (amd64_frame_this_id): Rename from x86_64_frame_this_id.
1183 (amd64_frame_prev_register): Rename from
1184 x86_64_frame_prev_register.
1185 (amd64_frame_unwind): Rename from x86_64_frame_unwind.
1186 (amd64_frame_sniffer): Rename from x86_64_frame_sniffer.
1187 (amd64_sigtramp_frame_cache): Rename from
1188 x86_64_sigtramp_frame_cache.
1189 (amd64_sigtramp_frame_prev_register): Rename from
1190 x86_64_sigtramp_frame_prev_register.
1191 (amd64_sigtramp_frame_unwind): Rename from
1192 x86_64_sigtramp_frame_unwind.
1193 (amd64_sigtramp_frame_sniffer): Rename from
1194 x86_64_sigtramp_frame_sniffer.
1195 (amd64_frame_base_address): Rename from x86_64_frame_base_address.
1196 (amd64_frame_base): Rename from x86_64_frame_base.
1197 (amd64_unwind_dummy_id): Rename from x86_64_unwind_dummy_id.
1198 (amd64_frame_align): Rename from x86_64_frame_align.
1199 (amd64_supply_fpregset): Rename from x86_64_supply_fpregset.
1200 (amd64_regset_from_core_section): Rename from
1201 x86_64_regset_from_core_section.
1202 (x86_64_init_abi): Update comments.
1204 2004-01-04 Nick Roberts <nick@nick.uklinux.net>
1206 * MAINTAINERS (write after approval): Add myself.
1208 2004-01-04 Mark Kettenis <kettenis@gnu.org>
1210 * sparc64-tdep.c (sparc64_store_arguments): Fix handling of
1213 2004-01-04 Mark Kettenis <kettenis@gnu.org>
1215 * sparc64-tdep.c (sparc64_store_floating_fields): Update comment
1216 such that it mentions a specific version of GCC that exhibits this
1219 2004-01-03 Mark Kettenis <kettenis@gnu.org>
1221 * sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a
1222 structure that has a single `float' member, store it in %f1 in
1225 * sparc-sol2-nat.c: Add missing '\'.
1227 * sparc-tdep.c (sparc32_return_value): New function.
1228 (sparc32_use_struct_convention, sparc32_return_value_on_stack):
1230 (sparc32_gdbarch_init): Set return_value, don't set
1231 extract_return_value, store_return_value, use_struct_convention
1232 and return_value_on_stack.
1234 * sparc-sol2-nat.c: Add missing ')'.
1236 2004-01-03 J. Brobecker <brobecker@gnat.com>
1238 * infrun.c (handle_step_into_function): New function.
1239 (handle_inferior_event): Extract out some code into the new
1242 2004-01-03 J. Brobecker <brobecker@gnat.com>
1244 * infrun.c (handle_inferior_event): Move the declaration of
1245 real_stop_pc inside the if blocks where it is used.
1247 2004-01-03 Mark Kettenis <kettenis@gnu.org>
1249 * sparc64-tdep.c (sparc64_16_byte_align_p)
1250 (sparc64_store_floating_fields, sparc64_store_floating_fields):
1251 Use check_typedef to get subtypes of structures and unions.
1252 (sparc64_store_return_value): Fix calculation of the appropriate
1253 offset into VALBUF when storing a structure or union.
1254 (sparc64_return_value): New function.
1255 (sparc64_use_struct_convention): Remove function.
1256 (sparc64_init_abi): Set return_value, don't set
1257 extract_return_value, store_return_value and
1258 use_struct_convention.
1260 2004-01-03 Eli Zaretskii <eliz@elta.co.il>
1262 * config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS,
1263 bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c,
1264 gdb/config/alpha/xm-alphaosf.h,
1265 gdb/config/powerpc/tm-ppcle-eabi.h,
1266 gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001,
1267 gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003,
1268 gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in,
1269 gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c,
1270 gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c,
1271 gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c,
1272 gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c,
1273 gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c,
1274 gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c,
1275 gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c,
1276 gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp,
1277 nclude/ChangeLog-9103, include/coff/ChangeLog-9103,
1278 include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103,
1279 opcodes/ChangeLog-0001, opcodes/ChangeLog-0203,
1280 opcodes/openrisc-dis.c, opcodes/openrisc-desc.h,
1281 sim/frv/profile-fr550.c, sim/frv/profile-fr550.h,
1282 sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c,
1283 sim/testsuite/sim/sh64/compact/ldsl-mach.cgs,
1284 sim/testsuite/sim/sh64/compact/ldsl-macl.cgs,
1285 sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and
1286 sim/testsuite/sim/sh64/compact/stsl-macl.cgs.
1287 Remove lines for .cvsignore files.
1289 2004-01-03 J. Brobecker <brobecker@gnat.com>
1291 * infrun.c: Back out the previous change.
1293 2004-01-03 Mark Kettenis <kettenis@gnu.org>
1295 * NEWS: Mention revised SPARC target. Add sparc-*-lynxos* and
1296 sparc-*-sunos4* to the list of REMOVED configurations.
1298 * configure.tgt: Add back sparc-*-vxworks*.
1299 * remote-vxsparc.c: Remove all includes except for "defs.h",
1300 "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h".
1301 Include "sparc-tdep.h".
1302 (SPARC_R_G1): New define.
1303 (vxsparc_gregset): New variable.
1304 (ext_format_sparc): Remove extern declaration.
1305 (vx_read_register): Rewrite to use sparc32_supply_gregset and
1306 sparc32_supply_fpregset.
1307 (vx_write_register): Rewrite to use sparc32_collect_gregset,
1308 sparc_collect_rwindow and sparc32_collect_fpregset.
1309 * config/sparc/tm-vxworks.h: New file, based on recently removed
1311 * config/sparc/vxworks.mt: New file, based on recently removed
1314 2004-01-03 J. Brobecker <brobecker@gnat.com>
1316 * infrun.c (handle_step_into_function): New function.
1317 (handle_inferior_event): Extract out some code into the new
1320 2004-01-02 Mark Kettenis <kettenis@gnu.org>
1322 * Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and
1323 sparcl-tdep.c. Add sparc-linux-tdep.c, sparc-sol2-nat.c,
1324 sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c,
1325 sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c,
1326 sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c,
1327 sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c.
1328 (sparc_nat_h): New variable.
1329 (sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables.
1330 (tm-sun4os4.h): Remove dependency.
1331 (sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies.
1332 (sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o,
1333 sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o,
1334 sparc-tdep.o): Update dependencies.
1335 (sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o,
1336 sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o,
1337 sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New
1339 * configure.host: Remove existing sparc-*-lynxos*,
1340 sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*,
1341 ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*,
1342 sparcv9-*-* and sparc64-*-* triplets. Add new sparc64-*-linux*,
1343 sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2*
1345 * configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*,
1346 sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*,
1347 sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*,
1348 sparcv9-*-* and commented out sparc64-*-solars2* triplets. Add
1349 new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*,
1350 sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*,
1351 sparc64-*-solaris2* and sparc64-*-* triplets.
1352 * sparc64-tdep.c: Update copyright year. Include "inferior.h",
1353 "symtab.h" and "objfiles.h".
1354 (BIAS): Remove define.
1355 (X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22)
1356 (X_DISP19): Remove macros.
1357 (sparc_fetch_instruction): Remove function.
1358 (struct gdbarch_tdep): Remove definition.
1359 (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE.
1360 (sparc_breakpoint_from_pc): Remove function.
1361 (struct sparc64_frame_cache): Remove definition.
1362 (sparc64_alloc_frame_cache, sparc64_analyze_prologue,
1363 sparc64_unwind_pc): Remove functions.
1364 (sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of
1365 `struct sparc64_frame_cache. Call sparc_analyze_prologue instead
1366 of sparc64_analyze_prologue. Mark constant as ULL instead of UL.
1367 (sparc64_frame_cache): Change return type to `struct
1368 sparc_frame_cache *'. Simply call sparc_frame_cache.
1369 (sparc64_frame_this_id, sparc64_frame_prev_register,
1370 sparc64_frame_base_address): Use `struct sparc_frame_cache'
1371 instead of `struct sparc64_frame_cache.
1372 (sparc_unwind_dummy_id, sparc_extract_struct_value_address,
1373 sparc_analyze_control_transfer, sparc_software_single_step,
1374 sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow,
1375 _initialize_sparc64_tdep): Remove functions.
1376 (TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros.
1377 (PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New
1379 (sparc64_supply_gregset, sparc64_collect_gregset,
1380 sparc64_supply_fpregset, sparc64_collect_fpregset): New functions.
1381 (sparc64_init_abi): New function.
1382 * sparc64-tdep.h: Update copyright year. Fix typo in multiple
1383 inclusion guard. Include "sparc-tdep.h".
1385 (r_tstate_offset, r_fprs_offset): New defines.
1386 (enum sparc_regnum): Remove defenition.
1387 (enum sparc64_regnum): Reformat.
1388 (sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes.
1389 (sparc64_init_abi, sparc64_supply_gregset,
1390 sparc64_collect_gregset, sparc64_supply_fpregset,
1391 sparc64_collect_fpregset): New prototypes.
1392 (sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset):
1393 Add extern declarations.
1394 (sparc64_sol2_init_abi): New prototype.
1395 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
1396 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
1398 * sparc64fbsd-nat.c: Include "sparc-nat.h", don't include
1400 (sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove
1402 (_initialize_sparc64fbsd_nat): Remove initialization of
1403 sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg,
1404 sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p,
1405 sparcbsd_fpreg_supplies_p. Initialize sparc_gregset.
1406 * sparc64fbsd-tdep.c: Update copyright year. Include "frame.h",
1407 "frame-unwind.h", "trad-frame.h" and "gdb_assert.h".
1408 (sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset)
1409 (sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset)
1410 (sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset)
1411 (sparc64fbsd_r_y_offset): Remove variables.
1412 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
1413 Make static and const.
1414 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
1415 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
1417 (sparc64fbsd_gregset): New variable.
1418 (fetch_core_registers): Replace calls to sparc64fbsd_supply_reg
1419 and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset
1420 and sparc64_supply_fpregset.
1421 (sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache)
1422 (sparc64fbsd_sigtramp_frame_this_id)
1423 (sparc64fbsd_sigtramp_frame_prev_register): New functions.
1424 (sparc64fbsd_sigtramp_frame_unwind): New variable.
1425 (sparc64fbsd_sigtramp_frame_sniffer): New function.
1426 (sparc64fbsd_init_abi): Set pc_in_sigtramp, append
1427 sparc64fbsd_sigtramp_frame_sniffer. Call sparc64_init_abi.
1428 * sparcnbsd-tdep.c: Update copyright year. Include
1429 "floatformat.h", "frame.h", "frame-unwind.h", "symtab.h",
1430 "trad-frame.h" and "gdb_assert.h", don't include "target.h",
1431 "value.h" and "sparcnbsd-tdep.h".
1432 (REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC)
1433 (REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT)
1434 (REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC)
1435 (REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove
1437 (sparcnbsd_gregset): New variable.
1438 (sparcnbsd_supply_reg32, sparcnbsd_supply_reg64)
1439 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64)
1440 (sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64)
1441 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions.
1442 (sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New
1444 (sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache)
1445 (sparc32nbsd_sigcontext_frame_this_id)
1446 (sparc32nbsd_sigcontext_frame_prev_register): New functions.
1447 (sparc32nbsd_sigcontext_frame_unwind): New variable.
1448 (sparc32nbsd_sigtramp_frame_sniffer): New function.
1449 (sparcnbsd_get_longjmp_target_32,
1450 sparcnbsd_get_longjmp_target_64): Remove functions.
1451 (sparcnbsd_aout_in_solib_call_trampoline): Rewrite.
1452 (sparcnbsd_init_abi_common, sparcnbsd_init_aout,
1453 sparcnbsd_init_elf): Remove.
1454 (sparcnbsd_init_abi, sparcnbsd_aout_init_abi)
1455 (sparcnbsd_elf_init_abi): New functions.
1456 (_initialize_sparcnbsd_tdep): New prototype.
1457 (_initialize_sparnbsd_tdep): Update.
1458 * config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and
1459 corelow.o. Add sparc64-nat.o and sparc-nat.o.
1460 * config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o.
1461 * config/sparc/linux.mh: Update comment.
1462 (XM_FILE, HOST_IPC): Remove variables.
1463 (NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o. Remove
1465 * config/sparc/linux.mt: Update comment.
1466 (TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o.
1467 * config/sparc/nbsd.mt: Reformat.
1468 * config/sparc/nbsd64.mh: Update comment.
1469 (NATDEPFILES): Add sparc-nat.o.
1470 * config/sparc/nbsd64.mt: Update comment.
1471 (TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o.
1472 (TM_FILE): Set to tm-nbsd.h.
1473 * config/sparc/nbsdelf.mh: Update comment.
1474 (NATDEPFILES): Add sparc-nat.o.
1476 * config/sparc/nbsdaout.mh: Update comment.
1477 (NATDEPFILES): Add sparc-nat.o
1479 * config/sparc/nm-linux.h: Update copyright year. Don't include
1480 "config/nm-svr4.h" and "solib.h". Add protection against multiple
1482 (KERNEL_U_SIZE): Remove define.
1483 (kernel_u_size): Remove prototype.
1484 (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define.
1485 * config/sparc/nm-nbsd.h: Update copyright. Don't include
1487 (CHILD_PREPARE_TO_STORE): Remove define.
1488 * config/sparc/nm-nbsdaout.h: Tweak some comments.
1489 * sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c,
1490 sparcnbsd-nat.c: Rewrite files.
1491 * config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files.
1492 * sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h,
1493 sparcnbsd-tdep.h: Remove files.
1494 * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h,
1495 config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt,
1496 config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt,
1497 config/sparc/sparc-em.mt, config/sparc/sparclynx.mh,
1498 config/sparc/sparclynx.mt, config/sparc/sun4os4.mh,
1499 config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh,
1500 config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h,
1501 config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h,
1502 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
1503 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
1504 config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt,
1505 config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files.
1506 * sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c,
1507 sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c,
1508 sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files.
1509 * config/sparc/linux64.mh, config/sparc/linux64.mt,
1510 config/sparc/nm-sol2.h, config/sparc/sol2-64.mt,
1511 config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt,
1512 config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files.
1514 2004-01-02 Andrew Cagney <cagney@redhat.com>
1516 From 2003-12-18 Kazuhiro Inaoka:
1517 * configure.host: Add m32r-linux target.
1519 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1521 * top.c (print_gdb_version): Update year to 2004.
1523 2004-01-02 Mark Mitchell <mark@codesourcery.com>
1525 * MAINTAINERS: Add myself to the write-after-approval category.
1527 2004-01-02 Daniel Jacobowitz <drow@mvista.com>
1529 From Bernardo Innocenti <bernie@develer.com>:
1530 * configure.tgt: Add uClinux target.
1532 2004-01-02 Andrew Cagney <cagney@redhat.com>
1534 * utils.c (do_my_cleanups): Make static, add forward declaration.
1535 * defs.h (do_my_cleanups): Delete declaration.
1537 2004-01-02 Eli Zaretskii <eliz@elta.co.il>
1539 * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and
1542 2004-01-02 Mark Kettenis <kettenis@gnu.org>
1544 * configure.in: Check for <machine/reg.h>. Check for `struct reg'
1546 * configure, config.in: Regenerate.
1548 For older changes see ChangeLog-2003, mi/ChangeLog-1999-2003, and
1549 tui/ChangeLog-1998-2003.
1555 version-control: never