+2004-09-12 Andrew Cagney <cagney@gnu.org>
+
+ * config/m68k/nbsdelf.mh: Add missing trailing newline. Problem
+ reported by Dave Anderson.
+
+ * target.c (target_info): Delete #ifdef call to FILES_INFO_HOOK.
+
+ * inferior.h (STORE_STRUCT_RETURN): Delete macro.
+
+2004-09-12 Salvador E. Tropea <set@users.sf.net>
+ Andrew Cagney <cagney@gnu.org>
+
+ * mi/mi-main.c (mi_cmd_data_list_changed_registers)
+ (mi_cmd_data_list_register_values)
+ (mi_cmd_data_write_register_values): Include the PSEUDO_REGS in
+ the register number computation.
+
+2004-09-12 Andrew Cagney <cagney@gnu.org>
+
+ * ppcnbsd-nat.c: Include "inf-ptrace.h".
+ (ppcnbsd_fetch_inferior_registers): Rename fetch_inferior_registers.
+ (ppcnbsd_store_inferior_registers): Rename store_inferior_registers.
+ (_initialize_ppcnbsd_nat): Create and add a NetBSD/PPC ptrace
+ target.
+ * config/powerpc/nbsd.mh (NATDEPFILES): Replace and inftarg.o with
+ inf-ptrace.o and inf-child.o.
+ * inf-ptrace.h, inf-ptrace.c, inf-child.h, inf-child.c: New files.
+ * Makefile.in: Update dependencies.
+
+2004-09-11 Andrew Cagney <cagney@gnu.org>
+
+ * language.c (hex_string, hex_string_custom): Move from here ...
+ * utils.c (hex_string, hex_string_custom): ... to here, rewrite.
+ (CELLSIZE): Increase to 50.
+ * language.h (hex_string, hex_string_custom): Move from here ...
+ * defs.h: ... to here.
+ * Makefile.in: Update all dependencies.
+
+2004-09-11 Paul N. Hilfinger <hilfinger@gnat.com>
+
+ * language.c (local_hex_format_custom): Remove.
+ (local_hex_string): Rename to hex_string, use C format, and move to
+ utils.c
+ (local_hex_string_custom): Rename to hex_string_custom and change
+ interface. Now uses C format. Move to utils.c
+ (local_octal_format_custom): Remove.
+ (local_decimal_format_custom): Remove.
+ (unknown_language_defn): Remove language-specific number
+ formatting entries.
+ (auto_language_defn): Ditto.
+ (local_language_defn): Ditto.
+ * language.h (struct language_format_info): Delete declaration.
+ (struct language_defn): Remove language_format_info fields
+ la_binary_format, la_octal_format, la_decimal_format, la_hex_format.
+ (local_binary_format): Remove macro.
+ (local_binary_format_prefix): Remove macro.
+ (local_binary_format_specifier): Remove macro.
+ (local_binary_format_suffix): Remove macro.
+ (local_octal_format): Remove macro.
+ (local_octal_format_prefix): Remove macro.
+ (local_octal_format_specifier): Remove macro.
+ (local_octal_format_suffix): Remove macro.
+ (local_decimal_format): Remove macro.
+ (local_decimal_format_prefix): Remove macro.
+ (local_decimal_format_specifier): Remove macro.
+ (local_decimal_format_suffix): Remove macro.
+ (local_hex_format): Remove macro.
+ (local_hex_format_prefix): Remove macro.
+ (local_hex_format_specifier): Remove macro.
+ (local_hex_format_suffix): Remove macro.
+ (local_decimal_format_custom): Remove.
+ (local_octal_format_custom): Remove.
+ (local_hex_format_custom): Remove.
+ (local_hex_string): Rename to hex_string and move to defs.h.
+ (local_hex_string_custom): Rename to hex_string_custom, change
+ interface, and move to defs.h.
+ * utils.c: (int_string): New function.
+ (hex_string): New function (from language.c).
+ (hex_string_custom): New function (from language.c).
+ (octal2str): New function.
+ (decimal2str): Add width parameter.
+ (paddr_u): Use new decimal2str interface.
+ (paddr_d): Ditto.
+ * defs.h (hex_string): Declare.
+ (hex_string_custom): Declare.
+ (int_string): Declare.
+ * printcmd.c (print_scalar_formatted): Remove localized binary
+ formatting.
+ * valprint.c (print_longest): Use int_string.
+ (print_floating): Use C hex format.
+ (print_hex_chars): Ditto.
+ (print_binary_chars): Remove language-specific formatting.
+ (print_octal_chars): Use C octal format.
+ (print_decimal_chars): Delocalize format.
+ (print_decimal): Remove.
+ * ada-lang.c (ada_language_defn): Remove language-specific number
+ formatting entries.
+ * p-lang.c (pascal_language_defn): Ditto.
+ * c-lang.c (c_language_defn): Ditto.
+ (cplus_language_defn): Ditto.
+ (asm_language_defn): Ditto.
+ (minimal_language_defn): Ditto.
+ * f-lang.c (f_language_defn): Ditto.
+ * jv-lang.c (java_language_defn): Ditto.
+ * m2-lang.c (m2_language_defn): Ditto.
+ * scm-lang.c (scm_language_defn): Ditto.
+ * objc-lang.c (objc_language_defn): Ditto.
+ * memattr.c (mem_info_command): Use renamed hex_string_custom with
+ new interface.
+ * pa64solib.c (pa64_sharedlibrary_info_command): Ditto.
+ * ui-out.c (ui_out_field_core_addr): Ditto.
+ * breakpoint.c (breakpoint_adjustment_warning): Ditto.
+ * exec.c (print_section_info): Ditto.
+ * i387-tdep.c (print_i387_status_word): Ditto.
+ (print_i387_control_word): Ditto.
+ (i387_print_float_info): Ditto.
+ * maint.c (maint_print_section_info): Ditto.
+ * solib.c (info_sharedlibrary_command): Ditto.
+ * somsolib.c (som_sharedlibrary_info_command): Ditto.
+ * symtab.c (print_msymbol_info): Ditto.
+ * tracepoint.c (tracepoints_info): Ditto.
+ * solib-frv.c (lm_base): Ditto.
+ (frv_current_sos): Ditto.
+ (enable_break2): Ditto.
+ (enable_break): Ditto.
+ * dbxread.c (read_dbx_symtab): Use renamed hex_string.
+ (process_one_symbol): Ditto.
+ * infcmd.c (program_info): Ditto.
+ * mdebugread.c (parse_partial_symbols): Ditto.
+ * symfile.c (add_symbol_file_command): Ditto.
+ * cli/cli-cmds.c (edit_command): Ditto.
+ (list_command): Ditto.
+ * infcall.c (call_function_by_hand): Ditto.
+ * remote-vx.c (vx_run_files_info): Ditto.
+ (vx_wait): Ditto.
+ (vx_attach): Ditto.
+ (vx_detach): Ditto.
+ (vx_kill): Ditto.
+ * aix-thread.c (pdc_symbol_addrs): Ditto.
+ (pdc_read_regs): Ditto.
+ (pdc_write_regs): Ditto.
+ (pdc_read_data): Ditto.
+ (pdc_write_data): Ditto.
+ * d10v-tdep.c (display_trace): Ditto.
+ * rs6000-nat.c (find_toc_address): Ditto.
+ * aix-thread.c: Don't include language.h.
+ * buildsym.c: Ditto.
+ * dbxread.c: Ditto.
+ * mdebugread.c: Ditto.
+ * rs6000-nat.c: Ditto.
+ * buildsym.c (make_blockvector): Use renamed hex_string.
+
+2004-09-10 Jason Molenda (jmolenda@apple.com)
+
+ * cli/cli-script.c (read_next_line): Accept zero or more whitespace
+ chars after 'if' or 'while' commands in user-defined commands.
+
+2004-09-08 Jim Blandy <jimb@redhat.com>
+
+ Fix bug reported and analyzed by Olivier Crete:
+ * symfile.c (copy_section_addr_info): New function.
+ (symbol_file_add_with_addrs_or_offsets): Use it to save the
+ original set of address arguments, instead of handwritten code
+ that uses one length to allocate and a different length to
+ initialize. Use make_cleanup_free_section_addr_info.
+ * symfile.h (copy_section_addr_info): New declaration.
+ * utils.c: #include "symfile.h".
+ (do_free_section_addr_info, make_cleanup_free_section_addr_info):
+ New functions.
+ * defs.h (make_cleanup_free_section_addr_info): New declaration.
+ * Makefile.in (utils.o): Update dependencies.
+
+2004-09-08 Andrew Cagney <cagney@gnu.org>
+
+ * thread-db.c (keep_thread_db): Delete.
+ (thread_db_new_objfile, thread_db_create_inferior)
+ (thread_db_mourn_inferior): Simplify assuming !keep_thread_db.
+
+2004-09-08 Mark Kettenis <kettenis@gnu.org>
+
+ * i386-tdep.h (FPC_REGNUM, FCTRL_REGNUM, FSTAT_REGNUM, FTAG_REGNUM)
+ (FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM, FOOFF_REGNUM)
+ (FOP_REGNUM, XMM0_REGNUM, MXCSR_REGNUM): Remove macros.
+ (i386_frameless_signal_p): Remove prototype.
+ * i386-linux-nat.c (GETFPREGS_SUPPLIES): Remove macro.
+ (GETFPXREGS_SUPPLIES): Define using I386_ST0_REGNUM and
+ I386_SSE_NUM_REGS.
+ * i386-nto-tdep.c (i386nto_supply_gregset): Use I386_NUM_GREGS
+ instead of FP0_REGNUM.
+ (i386nto_regset_id): Use I386_NUM_GREGS and I386_NUM_FREGS instead
+ of FP0_REGNUM and FPC_REGNUM.
+
+ * solib-sunos.c (sunos_relocate_main_executable): Remove function.
+ (sunos_solib_create_inferior_hook): Don't call
+ sunos_relocate_main_executable.
+
+ * sparcnbsd-tdep.c (sparc32nbsd_elf_init_abi): Set
+ solib_svr4_fetch_link_map_offsets to
+ svr4_ilp32_fetch_link_map_offsets.
+ * sparcobsd-tdep.c: Don't include "nbsd-tdep.h".
+ (sparc32obsd_init_abi): Set solib_svr4_fetch_link_map_offsets to
+ svr4_ilp32_fetch_link_map_offsets.
+ * Makefile.in (sparcobsd-tdep.o): Update dependencies.
+
+2004-09-07 Jim Blandy <jimb@redhat.com>
+
+ * frame.h (frame_register): Doc fix.
+
+2004-09-07 Andrew Cagney <cagney@gnu.org>
+
+ * vx-share/wait.h: Delete #ifdef USG.
+ * utils.c (request_quit): Ditto.
+ * tui/tui.c (tui_reset): Ditto.
+ * remote.c: Ditto.
+ * remote-sds.c: Ditto.
+ * remote-rdi.c: Ditto.
+ * mdebugread.c: Ditto.
+ * m68klinux-nat.c: Ditto.
+ * infttrace.c: Ditto.
+ * infptrace.c: Ditto.
+ * i386v-nat.c: Ditto.
+ * exec.c: Ditto.
+ * dbxread.c: Ditto.
+ * core-aout.c: Ditto.
+
+2004-09-05 Joel Brobecker <brobecker@gnat.com>
+
+ * mips-tdep.c (mips_insn16_frame_cache): Fix parameter in call to
+ heuristic_proc_desc.
+ (mips_insn32_frame_cache): Likewise.
+
+2004-09-04 Joel Brobecker <brobecker@gnat.com>
+
+ * mips-tdep.c (mips32_heuristic_proc_desc): Remove code that was
+ left behind by error.
+
+2004-09-04 Joel Brobecker <brobecker@gnat.com>
+
+ * config/alpha/nm-osf.h (PTRACE_ARG3_TYPE): Remove define.
+ * config/powerpc/nm-aix.h (PTRACE_ARG3_TYPE): Likewise.
+
+2004-09-04 Joel Brobecker <brobecker@gnat.com>
+
+ * config/rs6000/xm-aix4.h: Remove this file.
+ * config/rs6000/aix4.mh (XM_FILE): Delete.
+
+2004-09-04 Joel Brobecker <brobecker@gnat.com>
+
+ * config/rs6000/xm-rs6000.h: Remove this file.
+ * config/rs6000/rs6000.mh (XM_FILE): Remove.
+
+2004-09-03 Andrew Cagney <cagney@gnu.org>
+
+ * mips-tdep.c (PROC_DESC_IS_DUMMY, SET_PROC_DESC_IS_DUMMY)
+ (_PROC_MAGIC_, after_prologue, mips_dump_tdep): Delete macros and
+ only use.
+
+ * mips-tdep.c (temp_saved_regs): Delete.
+ (set_reg_offset): Replace saved_regs parameter with this_cache.
+ (heuristic_proc_desc, mips16_heuristic_proc_desc)
+ (mips32_heuristic_proc_desc): Add this_cache parameter.
+ (mips_insn32_frame_cache, mips_insn16_frame_cache)
+ (after_prologue): Pass a NULL this_cache.
+
+ * mips-tdep.c (mips_mdebug_frame_cache): Delete code handling
+ non-kernel trap prologues.
+
+ * mips-tdep.c (find_proc_desc): Delete function.
+ (mips_mdebug_frame_cache): Inline call to find_proc_desc,
+ simplify.
+ (mips_insn16_frame_cache): Replace find_proc_desc with code from
+ mips_insn32_frame_cache.
+
+ * mips-tdep.c (after_prologue): Inline call to find_proc_desc.
+ Simplify as NEXT_FRAME is NULL.
+ (find_proc_desc): Simplify as NEXT_FRAME is non-NULL.
+
+ * mips-tdep.c (after_prologue): Replace proc_desc parameter with
+ local variable.
+ (mips_skip_prologue): Update.
+
+ * mips-tdep.c (find_proc_desc, heuristic_proc_desc): Delete
+ "cur_frame" parameter.
+ (after_prologue, mips_mdebug_frame_cache, mips_insn16_frame_cache):
+ (mips_insn32_frame_cache, find_proc_desc): Update
+
+ * config/vax/nm-obsd.h: Delete file.
+ * config/vax/obsd.mh (NAT_FILE): Set to config/nm-bsd.h.
+ * config/vax/nm-nbsd.h: Delete file.
+ * config/vax/nm-nbsdaout.h: Include config/nm-nbsd.h.
+ * config/vax/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h.
+ * config/sh/nm-nbsd.h: Delete file.
+ * config/sh/nbsd.mh (NAT_FILE): Set to config/nm-nbsd.h.
+ * config/rs6000/nm-rs6000ly.h: Delete file.
+ * config/djgpp/fnchange.lst: Do not rename nm-rs6000ly.h.
+ * config/rs6000/rs6000lynx.mh (NAT_FILE): Set to config/nm-lynx.h.
+ * config/powerpc/nm-obsd.h: Delete file.
+ * config/powerpc/obsd.mh (NAT_FILE): Set to config/nm-bsd.h.
+ * config/powerpc/nm-nbsd.h: Delete file.
+ * config/powerpc/nbsd.mh (NAT_FILE): Set to config/nm-nbsd.h.
+ * config/pa/nm-obsd.h: Delete file.
+ * config/pa/obsd.mh (NAT_FILE): Set to config/nm-bsd.h.
+ * config/mips/nm-nbsd.h: Delete file.
+ * config/mips/nbsd.mh (NAT_FILE): Set to config/nm-nbsd.h.
+ * config/m88k/nm-obsd.h: Delete file.
+ * config/m88k/obsd.mh (NAT_FILE): Set to config/nm-bsd.h.
+ * config/m68k/nm-nbsd.h: Delete file.
+ * config/m68k/nm-nbsdaout.h: Include config/nm-nbsd.h.
+ * config/m68k/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h.
+ * config/i386/nm-nbsd.h: Delete file.
+ * config/i386/nm-nbsdaout.h: Include config/nm-nbsd.h.
+ * config/i386/obsd64.mh (NAT_FILE): Set to config/nm-nbsd.h.
+ * config/i386/nbsd64.mh (NAT_FILE): Set to config/nm-nbsd.h.
+ * config/i386/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h.
+ * config/i386/nm-i386lynx.h: Delete file.
+ * config/i386/i386lynx.mh (NAT_FILE): Set to config/nm-lynx.h.
+ * config/arm/nm-nbsd.h: Delete file.
+ * config/arm/nm-nbsdaout.h: Include config/nm-nbsd.h.
+ * config/arm/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h.
+
+ * config/i386/tm-fbsd.h: Delete file.
+ * config/i386/fbsd64.mt (TM_FILE): Set to solib.h.
+ * config/i386/fbsd.mt (TM_FILE): Set to solib.h.
+
+ * config/rs6000/tm-rs6000-aix4.h: Delete file.
+ * config/djgpp/fnchange.lst: Do not rename tm-rs6000-aix4.h.
+ * config/rs6000/aix4.mt (TM_FILE): Set to
+ config/rs6000/tm-rs6000.h.
+ * config/powerpc/tm-ppc-aix.h: Delete file.
+ * config/powerpc/aix.mt (TM_FILE): Set to
+ config/rs6000/tm-rs6000.h.
+ * config/m68k/tm-linux.h: Delete file.
+ * config/m68k/linux.mt (TM_FILE): Set to solib.h
+ * config/i386/tm-linux64.h: Delete file.
+ * config/i386/linux64.mt (TM_FILE): Set to solib.h.
+ * config/djgpp/fnchange.lst: Do not rename tm-linux.h.
+
+ * config/m68k/tm-linux.h (SVR4_SHARED_LIBS): Delete.
+ * config/i386/tm-linux64.h (SVR4_SHARED_LIBS): Delete.
+ * config/i386/nm-i386sco5.h (SVR4_SHARED_LIBS): Delete.
+ * config/tm-linux.h (SVR4_SHARED_LIBS): Delete.
+ * config/nm-sysv4.h (SVR4_SHARED_LIBS): Delete.
+ * config/nm-linux.h (SVR4_SHARED_LIBS): Delete.
+ * config/nm-gnu.h (SVR4_SHARED_LIBS): Delete.
+ * sh64-tdep.c [SVR4_SHARED_LIBS]: Delete #ifdef wrapper.
+ * sh-tdep.c [SVR4_SHARED_LIBS]: Delete #ifdef wrapper.
+
+ * configure.in (GDB_TM_FILE): Fix typo, use gdb_target_cpu and not
+ gdb_host_cpu.
+
+2004-09-02 Joel Brobecker <brobecker@gnat.com>
+
+ * mips-tdep.c (mips_insn32_frame_cache): Remove some dead code.
+ Minor reformatting. Some code factoring.
+
+2004-09-02 Andrew Cagney <cagney@gnu.org>
+
+ * config/vax/nbsd.mt (TM_FILE): Set to solib.h.
+ * config/vax/tm-nbsd.h: Delete file.
+ * config/sparc/vxworks.mt (TM_FILE): Set to config/tm-vxworks.h.
+ * config/sparc/tm-vxworks.h: Delete file.
+ * config/sparc/nbsd.mt (TM_FILE): Set to solib.h.
+ * config/sparc/tm-nbsd.h: Delete file.
+ * config/sparc/linux64.mt (TM_FILE): Set to solib.h.
+ * config/sparc/linux.mt (TM_FILE): Set to solib.h.
+ * config/sparc/tm-linux.h: Delete file.
+ * config/s390/s390.mt (TM_FILE): Set to config/tm-linux.h
+ * config/s390/tm-linux.h: Delete file.
+ * config/pa/obsd.mt (TM_FILE): Set to solib.h.
+ * config/pa/tm-bsd.h: Delete file.
+ * config/m68k/obsd.mt (TM_FILE): Set to solib.h.
+ * config/m68k/tm-obsd.h: Delete file.
+ * config/m68k/nbsd.mt (TM_FILE): Set to solib.h.
+ * config/m68k/tm-nbsd.h: Delete file.
+ * config/i386/vxworks.mt (TM_FILE): Set to config/tm-vxworks.h.
+ * config/i386/tm-vxworks.h: Delete file.
+ * config/i386/obsd64.mt (TM_FILE): Set to solib.h.
+ * config/i386/obsd.mt (TM_FILE): Set to solib.h.
+ * config/i386/nbsd64.mt (TM_FILE): Set to solib.h.
+ * config/i386/nbsd.mt (TM_FILE): Set to solib.h.
+ * config/i386/tm-nbsd.h: Delete file.
+ * config/i386/i386lynx.mt (TM_FILE): Set to config/tm-lynx.h.
+ * config/i386/tm-i386lynx.h: Delete file.
+ * config/cris/cris.mt (TM_FILE): Set to solib.h.
+ * config/cris/tm-cris.h: Delete file.
+
+ * configure.in: Let TM_FILE, XM_FILE and NAT_FILE specify a path.
+ * configure: Re-generate.
+ * config/arm/nbsd.mt (TM_FILE): Set to "solib.h".
+ * config/arm/tm-nbsd.h: Delete file.
+
+ * config/powerpc/tm-ppcle-sim.h: Delete.
+ * config/powerpc/tm-ppcle-eabi.h: Delete.
+ * config/powerpc/tm-nbsd.h: Delete.
+ * config/powerpc/nbsd.mt (TM_FILE): Set to tm-ppc-eabi.h.
+ * config/djgpp/fnchange.lst: Do not rename tm-ppcle-sim.h or
+ tm-ppcle-eabi.h.
+
+ * config/i386/nto.mh (NAT_FILE): Delete.
+ * config/i386/nm-nto.h: Delete.
+
+ * config/m68k/tm-vx68.h: Do not include "tm-m68k.h".
+ * config/m68k/tm-os68k.h: Ditto.
+ * config/m68k/tm-monitor.h: Ditto.
+ * config/m68k/tm-cisco.h: Ditto.
+ * config/m68k/st2000.mt (TM_FILE): Delete.
+ * config/m68k/tm-vx68.h (GET_LONGJMP_TARGET): Delete.
+ * config/m68k/tm-cisco.h (GET_LONGJMP_TARGET): Delete.
+ * config/m68k/tm-m68k.h (m68k_get_longjmp_target): Delete file.
+ * m68k-tdep.c (m68k_get_longjmp_target): Make static.
+
+ * config/m68k/tm-st2000.h: Delete.
+ * config/m68k/st2000.mt (TM_FILE): Set to tm-m68k.h.
+ * config/sparc/fbsd.mt (TM_FILE): Delete.
+ * config/sparc/tm-fbsd.h: Delete.
+
+ * acconfig.h (GDB_MULTI_ARCH): Delete undef.
+ * defs.h (GDB_MULTI_ARCH_PARTIAL, GDB_MULTI_ARCH_TM)
+ (GDB_MULTI_ARCH_PURE, GDB_MULTI_ARCH): Delete macros.
+
+ * gdbarch.sh: Instead of GDB_MULTI_ARCH print GDB_NM_FILE,
+ GDB_TM_FILE and GDB_XM_FILE.
+ * gdbarch.c: Re-generate.
+ * configure.in (GDB_XM_FILE, GDB_NM_FILE, GDB_TM_FILE): Include
+ quotes in macro definition.
+ * configure.in: Re-generate.
+
+ * gdbarch.sh: Delete check for GDB_MULTI_ARCH_PARTIAL when
+ validating architecture methods.
+ * gdbarch.c: Re-generate.
+
+ * gdbarch.sh: Delete check for consistency between GDB_MULTI_ARCH
+ and GDB_TM_FILE. Check for GDB_TM_FILE instead of
+ GDB_MULTI_ARCH_PARTIAL.
+ * gdbarch.h: Re-generate.
+
+ * config/sparc/tm-vxworks.h (GDB_MULTI_ARCH): Delete.
+ * config/sparc/tm-sol2.h (GDB_MULTI_ARCH): Delete.
+ * config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete.
+ * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete.
+ * config/sparc/tm-fbsd.h (GDB_MULTI_ARCH): Delete.
+ * config/sh/tm-sh.h (GDB_MULTI_ARCH): Delete.
+ * config/rs6000/tm-rs6000.h (GDB_MULTI_ARCH): Delete.
+ * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Delete.
+ * config/mips/tm-mips.h (GDB_MULTI_ARCH): Delete.
+ * config/ia64/tm-ia64.h (GDB_MULTI_ARCH): Delete.
+ * config/cris/tm-cris.h (GDB_MULTI_ARCH): Delete.
+ * config/arm/tm-arm.h (GDB_MULTI_ARCH): Delete.
+
+2004-09-01 Andrew Cagney <cagney@gnu.org>
+
+ * objfiles.h (struct entry_info): Delete fields main_func_lowpc
+ and main_func_highpc.
+ (INVALID_ENTRY_LOWPC, INVALID_ENTRY_HIGHPC): Delete macros.
+ * objfiles.c (init_entry_point_info, objfile_relocate): Update
+ * nlmread.c (nlm_symfile_read): Update.
+
+2004-09-01 Joel Brobecker <brobecker@gnat.com>
+
+ * mips-tdep.c (linked_proc_desc_table): Delete, not used.
+ (mips_insn32_frame_cache): Inline call to find_proc_desc.
+ (find_proc_desc): Remove dead code.
+
+2004-09-01 Joel Brobecker <brobecker@gnat.com>
+
+ * mips-tdep.c (mips_mdebug_frame_cache): Minor reformatting.
+
+2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
+
+ * observer.sh: Add struct so_list declaration.
+ * Makefile.in: Add dependencies on observer.h for solib.c and
+ breakpoint.c.
+ * breakpoint.c (disable_breakpoints_in_unloaded_shlib): New
+ function.
+ (_initialize_breakpoint): Register
+ disable_breakpoints_in_unloaded_shlib as an observer of the
+ "solib unloaded" observation event.
+ (re_enable_breakpoints_in_shlibs): For bp_shlib_disabled breakpoints,
+ call decode_line_1 so unfound breakpoint errors are silent.
+ * solib.c (update_solib_list): When a solib is discovered to have
+ been unloaded by the program, notify all observers of the
+ "solib unloaded" observation event.
+
+2004-09-01 Andrew Cagney <cagney@gnu.org>
+
+ * frame.c: Include "objfiles.h".
+ (inside_main_func): New function.
+ (get_prev_frame): Use new inside_main_func.
+ * Makefile.in (frame.o): Update dependencies.
+ * defs.h (inside_main_func): Delete declaration.
+ * blockframe.c (inside_main_func): Delete function.
+
+2004-08-31 Jim Blandy <jimb@redhat.com>
+
+ * dwarf2read.c (is_vtable_name): New function, based on logic from
+ read_structure_type, but passing the correct length to strncmp,
+ and using 'sizeof' instead of 'strlen'.
+ (read_structure_type): Call it.
+
+2004-08-31 Joel Brobecker <brobecker@gnat.com>
+
+ * config/powerpc/aix.mh: Add comment.
+
+2004-08-31 Paul GIlliam <pgilliam@us.ibm.com>
+
+ * MAINTAINERS: Add self to Write-After-Approval.
+
+2004-08-30 Manoj Iyer <manjo@austin.ibm.com>
+
+ * MAINTAINERS: Add self to Write-After-Approval.
+
+2004-08-30 Andrew Cagney <cagney@gnu.org>
+
+ Fix PR breakpoints/1757.
+ * infrun.c (struct execution_control_state): Replace
+ remove_breakpoints_on_following_step with
+ step_after_step_resume_breakpoint.
+ (init_execution_control_state): Update.
+ (handle_inferior_event): For signals, when stepping off a
+ breakpoint, set step_after_step_resume_breakpoint. When
+ BPSTAT_WHAT_STEP_RESUME, do a single-step off the breakpoint.
+ (keep_going): Delete code handling
+ remove_breakpoints_on_following_step.
+
+2004-08-29 David Lecomber <david@streamline-computing.com>
+
+ Fix PR gdb/648
+ * language.h (enum array_ordering): New enum.
+ * language.h (struct language_defn): New la_array_ordering
+ attribute.
+ * language.c (unknown_language_defn, auto_language_defn)
+ (local_language_defn): Ditto.
+ * ada-lang.c (ada_language_defn): Ditto.
+ * c-lang.c (c_language_defn, cplus_language_defn)
+ (asm_language_defn, minimal_language_defn): Ditto.
+ * f-lang.c (f_language_defn): Ditto.
+ * jv-lang.c (java_language_defn): Ditto.
+ * m2-lang.c (f_language_defn): Ditto.
+ * objc-lang.c (objc_language_defn): Ditto.
+ * p-lang.c (pascal_language_defn): Ditto.
+ * scm-lang.c (scm_language_defn): Ditto.
+ * eval.c (evaluate_subexp_standard): Assume Fortran arrays are
+ oriented large to small in type structure.
+ * dwarf2read.c (read_array_order): New function.
+ (read_array_type): Use read_array_order to check row/column
+ major ordering.
+
+2004-08-27 Nathan J. Williams <nathanw@wasabisystems.com>
+
+ * target.c (target_resize_to_sections): Check
+ current_target.to_sections for an old value when updating.
+
+2004-08-27 Joel Brobecker <brobecker@gnat.com>
+
+ * procfs.c (dbx_link_bpt_addr): New static global variable.
+ (dbx_link_shadow_contents): New static global variable.
+ (procfs_wait, case <PR_SYSEXIT>): Handle syssgi events.
+ (procfs_wait, case <FLTBPT>): Remove the __dbx_link brekapoint
+ if we just hit it.
+ (procfs_init_inferior): Enable syssgi() syscall trace if appropriate.
+ Reset dbx_link_bpt_addr as the address of __dbx_link() may change
+ from run to run.
+ (procfs_create_inferior): Remove syssgi syscall-exit notifications
+ after the inferior has been forked.
+ (remove_dbx_link_breakpoint): New function.
+ (dbx_link_addr): New function.
+ (insert_dbx_link_bpt_in_file): New function.
+ (insert_dbx_link_bpt_in_region): New function.
+ (insert_dbx_link_breakpoint): New function.
+ (proc_trace_syscalls_1): New function, extracted from
+ proc_trace_syscalls.
+ (proc_trace_syscalls): Replace extract code by call to
+ proc_trace_syscalls_1.
+ * solib-irix.c (disable_break): Remove stop_pc assertion, as it
+ is no longer valid.
+
+2004-08-25 Jim Blandy <jimb@redhat.com>
+
+ * gdbtypes.h (TYPE_CODE_ARRAY): Doc fix.
+
+2004-08-25 Andrew Cagney <cagney@gnu.org>
+
+ * infrun.c (struct execution_control_state): Delete field
+ "stepping_through_sigtramp".
+ (init_execution_control_state): Do not set same.
+ (context_switch): Do not pass same to save_infrun_state and
+ load_infrun_state.
+ * gdbthread.h (struct thread_info): Delete field
+ stepping_through_sigtramp.
+ (save_infrun_state, load_infrun_state): Delete parameter
+ stepping_through_sigtramp.
+ * thread.c (load_infrun_state, save_infrun_state): Update.
+
+ * infrun.c: Re-indent. Move expression operators to the beginning
+ of the line. Remove long disabled #if 0 code.
+
+2004-08-24 Andrew Cagney <cagney@gnu.org>
+
+ * doublest.h (floatformat_ieee_quad): Rename
+ floatformat_ia64_quad.
+ * doublest.c (floatformat_ieee_quad): Rename
+ floatformat_ia64_quad.
+ (_initialize_doublest): Update.
+
+2004-08-24 Jim Blandy <jimb@redhat.com>
+
+ * dwarf2expr.h (struct dwarf_expr_context): New members
+ 'num_pieces' and 'pieces', for returning the result of an
+ expression that uses DW_OP_piece.
+ (struct dwarf_expr_piece): New struct type.
+ * dwarf2expr.c (new_dwarf_expr_context): Initialize num_pieces and
+ pieces.
+ (free_dwarf_expr_context): Free pieces, if any.
+ (add_piece): New function.
+ (execute_stack_op): Implement DW_OP_piece.
+ * dwarf2loc.c (dwarf2_evaluate_loc_desc): If the result of the
+ expression is a list of pieces, print an error message.
+ (dwarf2_loc_desc_needs_frame): If the expression yields
+ pieces, and any piece is in a register, then we need a frame.
+
+ * dwarf2loc.c (dwarf2_evaluate_loc_desc): Wait to fetch the top of
+ the stack until we've decided what sort of result the evaluation
+ has produced. Use separate variables, with more specific names.
+
+2004-08-23 Richard Earnshaw <rearnsha@arm.com>
+
+ * armnbsd-tdep.c (arm_nbsd_arm_be_breakpoint): Define.
+ (arm_nbsd_thumb_[lb]e_breakpoint): Define.
+ (arm_netbsd_init_abi_common): Register them.
+
+2004-08-22 Mark Kettenis <kettenis@gnu.org>
+
+ * config/vax/vax.mh (NATDEPFILES): Add vax-nat.c.
+
+ * amd64obsd-tdep.c (amd64obsd_sigtramp_p): Use
+ safe_frame_unwind_memory instead of target_read_memory.
+
+ * infptrace.c: Remove #ifdef'ed out inclusion of gdb_stat.h.
+ Reorder includes.
+ (fetch_register, store_register): Remove prototypes.
+ (child_resume): Reorganize code and comments such that it is
+ grouped a bit more logically.
+ (attach): Explicitly compare errno against 0.
+ (detach): Likewise. Use perror_with_name instead of
+ print_sys_errmsg.
+ * Makefile.in (infptrace.o): Update dependencies.
+
+ * ia64-linux-nat.c: Update copyright year.
+ (fetch_debug_register, store_debug_register)
+ (ia64_linux_stopped_by_watchpoint): Replace PTRACE_ARG3_TYPE with
+ PTRACE_TYPE_ARG3.
+ * config/ia64/nm-linux.h: Update copyright year.
+ (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove defines.
+
+ * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Change argument
+ from CORE_ADDR to struct frame_info *. Use
+ safe_frame_unwind_memory instead of deprecated_read_memory_nobpt.
+ (amd64_linux_sigtramp_p): Adjust for changed signature of
+ and64_linux_sigtramp_start
+
+ * gdb_ptrace.h: GNU/Linux.
+
+ * config/alpha/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE):
+ Remove defines.
+
+ * infptrace.c: Include "gdb_assert.h".
+ (PTRACE_XFER_TYPE): Remove define.
+ (offsetof): Only define if U_REGS_OFFSET isn't defined.
+ (fetch_register, store_register): Rewrite to use PTRACE_TYPE_RET.
+ Tweak comment.
+ (fetch_inferior_registers, store_inferior_registers): Remove
+ redundant culry braces. Tweak comment. s/regno/regnum.
+ * Makefile.in (infptrace.o): Update dependencies.
+
+ * configure.in: Change test for return type of ptrace to default
+ to `long' instead of `int'.
+ * configure: Regenerate.
+
+2004-08-21 Mark Kettenis <kettenis@gnu.org>
+
+ * config/alpha/alpha-linux.mh (LOADLIBES): New variable.
+
+ * configure.in: Check for ttrace function.
+ * configure, config.in: Regenerate.
+
+ * gdb_ptrace.h: New file.
+ * infptrace.c: Include "gdb_ptrace.h" instead of <ptrace.h> or
+ <sys/ptrace.h>.
+ (PT_READ_I, PT_READ_D, PT_READ_U, PT_WRITE_I, PT_WRITE_D)
+ (PT_WRITE_U, PT_CONTINUE, PT_STEP, PT_KILL): Remove defines.
+ (attach): Don't define PT_ATTACH.
+ (detach): Don't define PT_DETACH.
+ * Makefile.in (gdb_ptrace_h): New variable.
+ (infptrace.o): Update dependencies.
+
+2004-08-16 Mark Kettenis <kettenis@gnu.org>
+
+ * inferior.h (PTRACE_ARG3_TYPE): Define as PTRACE_TYPE_ARG3
+ instead of `int' if not already defined.
+ (call_ptrace): Revert change that replaced PTRACE_ARG3_TYPE with
+ PTRACE_TYPE_ARG3.
+ * infptrace.c (call_ptrace): Revert change that replaced
+ PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
+
2004-08-15 Mark Kettenis <kettenis@gnu.org>
+ * config/i386/nm-linux64.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE):
+ Remove defines.
+
* linux-nat.c (kill_inferior): Add missing third and fourth
arguments to ptrace call. Don't use PTRACE_ARG3_TYPE.