2004-02-22 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index f15e9f6921e833a83f861d9d9ea5e9c4290a780a..ce4a621c065c232110e742cc38d21516e69c4993 100644 (file)
@@ -1,7 +1,391 @@
+2004-02-22  Andrew Cagney  <cagney@redhat.com>
+
+       * frame-unwind.c (frame_unwind_find_by_frame): Add legacy_frame_p
+       to predicates for "seriously old code".
+
+       * hppa-tdep.c (hppa_gdbarch_init): Convert compile time #if0s into
+       runtime if(0).
+
+       * hppa-tdep.c (hppa_breakpoint_from_pc): Make "breakpoint"
+       unsigned.
+       (hppa_frame_find_saved_regs): Fix "std" instruction pattern
+
+       * config/pa/tm-hppa.h: Update copyright.
+       (DEPRECATED_INIT_FRAME_PC): Delete macro.
+       (deprecated_init_frame_pc_default): Delete declaration.
+       (hppa_frame_init_saved_regs): Delete declaration.
+       (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
+       * hppa-tdep.c: Include "arch-utils.h".
+       (hppa_gdbarch_init): Set deprecated init_frame_pc
+       and deprecated frame_init_saved_regs.
+       (hppa_frame_init_saved_regs): Make static.
+
+2004-02-22  Mark Kettenis  <kettenis@gnu.org>
+
+       Remove old 386BSD support.
+       * NEWS (REMOVED configurations and files): Add i[3456]86-*-bsd*.
+       * configure.host: Remove i[34567]86-*-bsd*.
+       * configure.tgt: Remove i[34567]86-*-bsd*.
+       * i386b-nat.c: Removed.
+       * Makefile.in (ALLDEPFILES): Remove i386b-nat.c.
+       (i386b-nat.o): Remove dependencies.
+
+       * config/i386/i386bsd.mh: Removed.
+       * config/i386/i386bsd.mt: Removed.
+       * config/i386/nm-i386bsd.h: Removed.
+       * config/i386/tm-i386bsd.h: Removed.
+       * config/i386/xm-i386bsd.h: Removed.
+
+       * x86-64-tdep.h (amd64obsd_r_reg_offset): New extern declaration.
+
+       * amd64fbsd-tdep.c: Include "solib-svr4.h".
+       (amd64fbsd_init_abi): Set link map offsets.
+       * amd64nbsd-tdep.c: Include "slib-svr4.h".
+       (amd64nbsd_init_abi): Set link map offsets.
+       * amd64obsd-tdep.c: Include "solib-svr4.h".
+       (amd64obsd_init_abi): Set link map offsets.
+       * i386fbsd-tdep.c: Include "solib-svr4.h".
+       (i386fbsd_init_abi): Set link map offsets.
+       * i386nbsd-tdep.c: Include "solib-svr4.h".
+       (i386nbsdelf_init_abi): Set link map offsets.
+       * Makefile.in (amd64fbsd-tdep.o, amd64nbsd-tdep.o)
+       (amd64obsd-tdep.o, i386fbsd-tdep.o): Update dependencies.
+       * config/i386/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o,
+       solib-legacy.o and core-aout.o. Reformat.
+       * config/i386/fbsd64.mh (NATDEPFILES): Remove solib.o,
+       solib-svr4.o, solib-legacy.o.  Reformat.
+       * config/i386/nbsdaout.mh (NATDEPFILES): Add solib.o.  Reformat.
+       * config/i386/nbsdelf.mh: Reformat.
+       * config/i386/nbsd64.mh (NATDEPFILES): Remove solib.o,
+       solib-svr4.o, solib-legacy.o and corelow.o.
+       * config/i386/obsd.mh, config/i386/obsdaout.mh: Reformat.
+       * config/i386/obsd64.mh (NATDEPFILES): Remove solib.o,
+       solib-svr4.o, solib-legacy.o and corelow.o.  Reformat.
+       * config/i386/fbsd.mt (TDEPFILES): Add solib.o, solib-svr4.o.
+       * config/i386/fbsd64.mt (TDEPFILES): Add solib.o, solib-svr4.o.
+       (TM_FILE): Set to tm-fbsd.h.
+       * config/i386/nbsd.mt (TDEPFILES): Reformat.
+       * config/i386/nbsd64.mt (TDEPFILES): Add corelow.o, solib.o and
+       solib-svr4.o.
+       * config/i386/obsd.mt (TDEPFILES): Add corelow.o, solib.o and
+       solib-svr4.o.
+       (TM_FILE): Set to nm-nbsd.h.
+       * config/i386/nm-fbsd.h: Update copyright year.  Tweak comments.
+       Simplify shared library support.  Don't include "elf/common.h".
+       (SVR4_SHARED_LIBS): Don't define.
+       * config/i386/nm-fbsd64.h: Update copyright year.  Don't include
+       "solib.h".
+       * config/i386/nm-nbsd.h, config/i386/nm-nbsdaout.h,
+       config/i386/nm-obsd.h: Update copyright year.  Tweak comments.
+       * config/i386/tm-fbsd.h: Update copyright tear.  Tweak comments.
+       Don't include "i386/tm-i386.h".  Include "solib.h".
+       * config/i386/tm-nbsd.h: Update copyright year.  Tweak comments.
+       Don't include "i386/tm-i386.h".
+       * config/i386/xm-i386.h: Update copyright year.  Tweak comments.
+       * config/i386/xm-nbsd.h: Update copyright year.  Tweak comments.
+       Include "i386/xm-i386.h".
+       (HOST_LONG_DOUBLE_FORMAT): Remove.
+
+       Fix OpenBSD/i386 sigtramp recognition.
+       * i386-tdep.h: Update copyright year.
+       (i386bsd_pc_in_sigtramp, i386bsd_sigtramp_start)
+       (i386bsd_sigtramp_end): New prototypes.
+       (i386fbsd_sigtramp_start_addr): Renamed from
+       i386fbsd_sigtramp_start.
+       (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end.
+       (i386obsd_sigtramp_start_addr): Renamed from
+       i386obsd_sigtramp_start.
+       (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end.
+       * i386bsd-tdep.c: Update copyright year.
+       (i386bsd_pc_in_sigtramp): Make public.
+       * i386fbsd-nat.c: Update copyright year.
+       (_initialize_i386fbsd_nat): Adjust for renamed variables.
+       * i386fbsd-tdep.c: Update copyright year.
+       (i386fbsd_sigtramp_start_addr): Renamed from
+       i386fbsd_sigtramp_start.
+       (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end.
+       (i386fbsdaout_init_abi): Adjust for renamed variables.
+       * i386obsd-nat.c: Update copyright year.
+       (_initialize_i386obsd_nat): Adjust for renamed variables.
+       * i386obsd-tdep.c: Include "target.h".
+       (i386obsd_page_size): New variable.
+       (i386obsd_pc_in_sigtramp, i386obsd_sigtramp_start)
+       (i386obsd_sigtramp_end): New functions.
+       (i386obsd_sigtramp_start_addr): Renamed from
+       i386obsd_sigtramp_start.
+       (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end.
+       (i386obsd_init_abi): Adjust for renamed variables.  Set
+       pc_in_sigtramp, sigtramp_start and sigtramp_end.
+       * Makefile.in (i386obsd-tdep.o): Update dependencies.
+
+       * amd64obsd-tdep.c (amd64obsd_pc_in_sigtramp): Adjust for signal
+       trampoline change in OpenBSD kernel.
+
+       * amd64-nat.c: Update copyright year.
+       (amd64_supply_native_gregset, amd64_collect_native_gregset): Use
+       architecture from REGCACHE.
+
+       * x86-64-linux-nat.c (x86_64_linux_gregset32_reg_offset): Use
+       symbolic constants from <sys/reg.h> instead of hard-coded numbers.
+
+2004-02-21  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure.host: Add i[34567]86-*-openbsd[0-2].* and
+       i[34567]86-*-openbsd3.[0-3].
+       * config/i386/obsdaout.mh: New file.
+
+       * config/i386/obsd.mh (MH_FLAGS): Remove.
+
+       Fix PR build/1549.
+       * i386obsd-tdep.c: Update copyright years.  Include
+       "solib-svr4.h".
+       (i386obsd_init_abi): Don't set regset_from_core_section here.
+       (i386obsd_aout_init_abi): New function.  Set
+       regset_from_core_section here.
+       (i386obsd_elf_init_abi): New function.
+       (_initialize_i386obsd_tdep): Register OS/ABI for OpenBSD ELF.
+       * Makefile.in (i386obsd-tdep.o): Update dependecies.
+       * config/i386/obsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
+       (TM_FILE): Set to tm-nbsd.h.
+
+       * config/i386/obsd.mh (NATDEPFILES): Remove solib.o and
+       solib-sunos.o.
+
+       * solib-svr4.h: Update copyright year.
+       (svr4_ilp32_fetch_link_map_offsets)
+       (svr4_lp64_fetch_link_map_offsets): New prototype.
+       * solib-svr4.c: Update copyright year.
+       (svr4_ilp32_fetch_link_map_offsets)
+       (svr4_lp64_fetch_link_map_offsets): New function.
+
+2004-02-20  Daniel Jacobowitz  <drow@mvista.com>
+
+       * dwarf2read.c (add_partial_symbol): Fix typo in adding enumerators
+       to the partial symbol table.
+
+2004-02-20  J. brobecker  <brobecker@gnat.com>
+
+       * PROBLEMS: Add description of problem documented under gdb/1560.
+
+2004-02-20  Mark Kettenis  <kettenis@gnu.org>
+
+       * amd64obsd-tdep.c: Include "regset.h" and "i387-tdep.h".  Fix
+       comments.
+       (amd64obsd_supply_regset, amd64obsd_regset_from_core_section): New
+       functions.
+       (amd64obsd_init_abi): Reorder initializations.  Use
+       amd64obsd_r_reg_offset to initialize the general-purpose register
+       set details.  Set regset_from_core_section.
+       (_initialize_amd64obsd_tdep): Rename from
+       _initialize_amd64obsd_ndep.  Add OS ABI handler for core dumps.
+       * Makefile.in (amd64obsd-tdep.o): Update dependencies.
+       * config/i386/obsd64.mt (TDEPFILES): Add i386-tdep.o.
+
+       * NEWS (New native configurations): Mention OpenBSD/alpha.
+       * configure.tgt: Add alpha*-*-openbsd*.
+       * configure.host: Add alpha*-*-openbsd*.
+       * alphanbsd-tdep.c: Update copyright year.
+       (_initialize_alphanbsd_tdep): Register OS ABI for OpenBSD ELF.
+
+2004-02-20  Andrew Cagney  <cagney@redhat.com>
+
+       Fix PR tdep/1372.
+       * configure.tgt: Delete target "none-*-*".
+       * configure.host: Delete host "none-*-*".
+       * config/none/none.mh: Delete file.
+       * config/none/none.mt: Delete file.
+       * config/none/xm-none.h: Delete file.
+       * config/none/tm-none.h: Delete file.
+       * config/none/nm-none.h: Delete file.
+
+2004-02-19  Fred Fish  <fnf@redhat.com>
+
+       * sh-tdep.c (sh_analyze_prologue): Eliminate useless test of
+       cache->uses_fp prior to setting it.
+
+2004-02-19  Fred Fish  <fnf@redhat.com>
+
+       Fix for PR breakpoint/1558.
+       * sh-tdep.c (IS_JSR): New macro.
+       (sh_analyze_prologue): Use IS_JSR to terminate prologue scan.
+
+2004-02-19  Jim Blandy  <jimb@redhat.com>
+
+       * findvar.c (value_from_register): Doc fix.
+
+2004-02-19  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * printcmd.c (print_scalar_formatted): Do not check for sizeof
+       type being greater than sizeof of host's LONGEST.  Always use
+       unpack_long() unless format 'f' chosen.
+
+2004-02-19  Joel Brobecker  <brobecker@gnat.com>
+
+       Committed by Elena Zannoni  <ezannoni@redhat.com>
+
+       * symtab.c (find_pc_sect_psymtab): Return the psymtab that
+       contains a symbol wich is the best, non-exact match for the given
+       pc.  Update comments.
+
+2004-02-19  Elena Zannoni  <ezannoni@redhat.com>
+       
+       * event-top.c (async_request_quit): Remove uses of REQUEST_QUIT
+       macro, which was part of the now removed Mach 3 port.
+       * utils.c (request_quit): Ditto.
+
+2004-02-18  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/djgpp/fnchange.lst: Rename "amd64obsd-tdep.c" and
+        "amd64obsd-nat.c" to "a64ob-tdep.c" and "a64ob-nat.c".
+
+2004-02-18  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+
+       Committed by Mark Kettenis  <kettenis@gnu.org>.
+
+       * config/s390/nm-linux.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT):
+       Define.
+
+2004-02-18  Andrew Cagney  <cagney@redhat.com>
+
+       * configure.in: Add a TUI target to CONFIG_ALL, CONFIG_CLEAN,
+       CONFIG_INSTALL and CONFIG_UNINSTALL.
+       * configure: Re-generate.
+       * interps.h (INTERP_TUI): Define.
+       * Makefile.in: Update dependencies.
+       (TUI): New macro.
+       (tui-main.o): Specify dependencies.
+       (install-tui, uninstall-tui, clean-tui, all-tui): New rules.
+       * tui/tui-main.c: New file.
+
+2004-02-18  Mark Kettenis  <kettenis@gnu.org>
+
+       * amd64obsd-tdep.c, amd64obsd-nat.c: New files.
+       * Makefile.in (amd64obsd-nat.o, amd64obsd-tdep.o): New
+       dependencies.
+       * configure.host: Add x86_64-*-openbsd*.
+       * configure.tgt: Add x86_64-*-openbsd*.
+       * config/i386/obsd64.mt, config/i386/obsd64.mh: New files.
+
+       * tui/tui.c: Don't include <malloc.h>.
+
+       * Makefile.in (ALLDEPFILES): Add amd64-nat.c, amd64bsd-nat.c,
+       amdfbsd-nat.c, amd64-fbsd-tdep.c, amd64nbsd-nat.c and
+       amd64nbsd-tdep.c.
+
+       * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Make
+       static.  Remove extraneous whitespace.  
+       * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Make
+       static.
+
+2004-02-17  Jim Blandy  <jimb@redhat.com>
+
+       * findvar.c (value_from_register): Doc fix.
+
 2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
 
        Committed by Jim Blandy  <jimb@redhat.com>.
 
+       * eval.c (evaluate_subexp_standard, case OP_OBJC_MSGCALL): Use 
+       CORE_ADDR as type for selectors.  Correct types for GNU run time
+       message lookup function to use double indirection.
+       * objc-lang.c (lookup_child_selector): Use CORE_ADDR as return type.
+       * objc-lang.h (lookup_child_selector): Adapt prototype.
+
+       * s390-nat.c (SUBOFF): New macro.
+       (supply_gregset, fill_gregset): Use it to handle debugging
+       of 32-bit exectuables running under a 64-bit kernel.
+       * s390-tdep.c: Include "solib-svr4.h".
+       (s390_svr4_fetch_link_map_offset): New function.
+       (s390x_svr_fetch_link_map_offset): Likewise.
+       (s390_gdbarch_init): Call set_solib_svr4_fetch_link_map_offsets.
+       * Makefile.in (s390-tdep.o): Update dependencies.
+
+       * s390-tdep.c: Include "trad-frame.h", "frame-base.h", and
+       "frame-unwind.h".
+       (s390_readinstruction): Reformat.  Use read_memory_nobpt.
+       (GDB_TARGET_IS_ESAME, S390_GPR_SIZE, S390_FPR_SIZE): Remove.
+       (S390_SYSCALL_OPCODE, S390_SYSCALL_SIZE): Remove.
+       (S390_SIGCONTEXT_SREGS_OFFSET, S390X_SIGCONTEXT_SREGS_OFFSET,
+       S390_SIGREGS_FP0_OFFSET, S390X_SIGREGS_FP0_OFFSET,
+       S390_UC_MCONTEXT_OFFSET, S390X_UC_MCONTEXT_OFFSET,
+       S390_SIGNAL_FRAMESIZE, 
+       s390_NR_sigreturn, s390_NR_rt_sigreturn): Remove.
+       (struct frame_extra_info): Remove.
+       (s390_memset_extra_info): Remove.
+        (op1_ag, op1_ay, op1_brasl, op1_brc, op1_brcl, op1_lay, op1_lg)
+        (op1_lmy, op1_ly, op1_sg, op1_stmy, op1_sty, op1_sy, op_a)
+        (op_agr, op_bas, op_bc, op_bcr, op_sgr, op_sr): New opcodes.
+       (is_rse): Renamed to ...
+       (is_rsy): ... this.  Support long displacements.
+       (is_rxe): Renamed to ...
+       (is_rxy): ... this.  Support long displacements.
+       (compute_x_addr): Support long displacements.
+       (struct s390_prologue_data): New data type.
+       (s390_on_stack): Change API to use struct s390_prologue_data.
+       (s390_store): Reimplement.
+       (s390_load): New function.
+       (s390_get_signal_frame_info): Remove.
+       (s390_get_frame_info): Remove, replace by ...
+       (s390_analyze_prolog): ... this new function.
+       (s390_check_function_end): Remove.
+       (s390_function_start): Remove.
+       (s390_frameless_function_invokation): Remove.
+       (s390_is_sigreturn): Remove.
+       (s390_init_frame_pc_first): Remove.
+       (s390_init_frame_extra_info): Remove.
+       (s390_frame_init_saved_regs): Remove.
+       (s390_frame_saved_pc_nofix): Remove.
+       (s390_frame_saved_pc): Remove.
+       (s390_frame_chain): Remove.
+       (s390_fp_regnum, s390_read_fp): Remove.
+       (s390_pop_frame_regular, s390_pop_frame): Remove.
+       (s390_saved_pc_after_call): Remove.
+       (s390_skip_prologue): Reimplement.
+       (s390_in_function_epilogue_p): Support long displacements.
+       (struct s390_unwind_cache): New data structure.
+       (s390_frame_unwind_cache): New function.
+       (s390_prologue_frame_unwind_cache): Likewise.
+       (s390_backchain_frame_unwind_cache): Likewise.
+       (s390_frame_this_id, s390_frame_prev_register): Likewise.
+       (s390_frame_unwind): Define.
+       (s390_frame_sniffer): New function.
+       (struct s390_pltstub_unwind_cache): New data structure.
+       (s390_pltstub_frame_unwind_cache): New function.
+       (s390_pltstub_frame_this_id): Likewise.
+       (s390_pltstub_frame_prev_register): Likewise.
+       (s390_pltstub_frame_unwind): Define.
+       (s390_pltstub_frame_sniffer): New function.
+       (struct s390_sigtramp_unwind_cache): New data structure.
+       (s390_sigtramp_frame_unwind_cache): New function.
+       (s390_sigtramp_frame_this_id): Likewise.
+       (s390_sigtramp_frame_prev_register): Likewise.
+       (s390_sigtramp_frame_unwind): Define.
+       (s390_sigtramp_frame_sniffer): New function.
+       (s390_frame_base_address, s390_local_base_address): New functions.
+       (s390_frame_base): Define.
+       (s390_unwind_pc, s390_unwind_sp): New function.
+       (s390_push_dummy_call): Use new frame base location.
+       (s390_unwind_dummy_id): Likewise.
+       (s390_gdbarch_init): Remove calls to:
+       set_gdbarch_frameless_function_invocation,
+       set_gdbarch_deprecated_init_frame_pc,
+       set_gdbarch_deprecated_frame_chain,
+       set_gdbarch_deprecated_frame_init_saved_regs,
+       set_gdbarch_deprecated_pop_frame,
+       set_gdbarch_deprecated_init_extra_frame_info,
+       set_gdbarch_deprecated_init_frame_pc_first,
+       set_gdbarch_deprecated_target_read_fp,
+       set_gdbarch_deprecated_frame_saved_pc,
+       set_gdbarch_deprecated_saved_pc_after_call,
+       set_gdbarch_deprecated_fp_regnum.
+       Add calls to:
+       set_gdbarch_in_solib_call_trampoline,
+       frame_unwind_append_sniffer,
+       frame_base_set_default,
+       set_gdbarch_unwind_pc,
+       set_gdbarch_unwind_sp.
+       * Makefile.in (s390-tdep.o): Update dependencies.
+
        * s390-tdep.c (struct gdbarch_tdep): Add 'abi' member.
        (S390_STACK_FRAME_OVERHEAD): Remove.
        (S390_STACK_PARAMETER_ALIGNMENT): Remove.
This page took 0.029442 seconds and 4 git commands to generate.