* symtab.c (fixup_section): Search section table when lookup by
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index e5f5a9597df80cd6b64185e3cc1990e9cf9a43b2..8f3f782b54b9c80f20f023d08dcdd5be06883bde 100644 (file)
@@ -1,3 +1,343 @@
+2004-05-24  Kevin Buettner  <kevinb@redhat.com>
+
+       * symtab.c (fixup_section): Search section table when lookup by
+       name fails.
+
+2004-05-24  Randolph Chung  <tausq@debian.org>
+
+       * hppa-tdep.c: Fix handling of 8-byte structures; they should not 
+       be "small_struct".
+
+2004-05-24  Mark Kettenis  <kettenis@gnu.org>
+
+       * m68kbsd-nat.c (m68kbsd_collect_gregset): Specify correct
+       register number in regcache_raw_collect call.
+       (m68kbsd_collect_fpregset): Likewise.
+       * vaxbsd-nat.c (vaxbsd_collect_gregset): Likewise.
+
+       * regset.h (struct regset): Add back `regset' member.
+
+2004-05-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure.in: Check for td_pcb in `struct thread'.
+       * configure, config.in: Regenerated.
+
+       * dpx2-nat.c: Remove file.
+       * Makefile.in (ALLDEPFILES): Remove dpx2-nat.c.
+       (dpx2-nat.o): Remove dependencies.
+
+       * amd64obsd-nat.c: Include "gdbcore.h", "regcache.h",
+       <sys/types.h>, <machine/frame.h>, <machine/pcb.h> and "bsd-kvm.h".
+       (amd64obsd_supply_pcb): New function.
+       (_initialize_amd64obsd_nat): Enable libkvm interface.
+       * Makefile.in (amd64obsd-nat.o): Update dependencies.
+       * config/i386/obsd64.mh (NATDEPFILES): Add bsd-kvm.o
+       (LOADLIBES): New variable.
+
+       * sparcnbsd-nat.c: Include "gdbcore.h", "regcache.h",
+       <sys/types.h>, <machine/pcb.h> and "bsd-kvm.h".
+       (sparc32nbsd_supply_pcb): New function.
+       (_initialize_sparcnbsd_nat): Enable libkvm interface.
+       * Makefile.in (sparcnbsd-nat.o): Update dependencies.
+       * config/sparc/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o.
+       (LOADLIBES): New variable.
+
+2004-05-22  Mark Kettenis  <kettenis@gnu.org>
+
+       * bsd-kvm.c, bsd-kvm.h: New files.
+       * i386fbsd-nat.c: Include <sys/types.h>, <machine/pcb.h> and
+       "bsd-kvm.h".
+       (i386fbsd_supply_pcb): New function.
+       * Makefile.in (ALLDEPFILES): Add bsd-kvm.c.
+       (i386fbsd-nat.o): Update dependencies.
+       (bsd_kvm_h): New variable.
+       (bsd-kvm.o): New dependency.
+       * config/i386/fbsd.mh (NATDEPFILES): Add bsd-kvm.o.
+       (LOADLIBES): New variable.
+
+       * regset.c: Tweak comment.
+       (regset_alloc): Remove descr argument.  Use GDBARCH_OBSTACK_ZALLOC
+       macro.
+       * regset.h: Update copyright year.
+       (struct regset): Remove `descr' member, add `gdbarch' member.
+       (regset_alloc): Adjust prototype and comment.
+       * i386-tdep.c (i386_supply_gregset): Get TDEP from REGSET->arch.
+       (i386_supply_fpregset): Likewise.
+       (i386_regset_from_core_section): Update call to regset_alloc.
+       * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get TDEP from
+       REGSET->arch.
+       (i386obsd_aout_regset_from_core_section): Update call to
+       regset_alloc.
+       * i386nbsd-tdep.c (i386nbsd_aout_supply_regset): Get TDEP from
+       REGSET->arch.
+       (i386nbsd_aout_regset_from_core_section): Update call to
+       regset_alloc.
+       * amd64-tdep.c (amd64_supply_fpregset): Get TDEP from
+       REGSET->arch.
+       (amd64_regset_from_core_section): Update call to regset_alloc.
+       * amd64obsd-tdep.c (amd64obsd_supply_regset): Get TDEP from
+       REGSET->arch.
+       (amd64obsd_regset_from_core_section): Update call to regset_alloc.
+       * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Directly pass
+       &sparc32nbsd_gregset in sparc32_supply_gregset call.
+       (sparc32nbsd_init_abi): Update call to regset_alloc.
+       * sparc64obsd-tdep.c (sparc64obsd_supply_gregset): Directly pass
+       &sparc64obsd_core_gregset in sparc64_supply_gregset call.
+       (sparc64obsd_init_abi): Update call to regset_alloc.
+       * sparc64nbsd-tdep.c (sparc64nbsd_supply_gregset): Directly pass
+       &sparc64nbsd_gregset in sparc64_supply_gregset call.
+       (sparc64nbsd_init_abi): Update call to regset_alloc.
+       * sparc64fbsd-tdep.c (sparc64fbsd_supply_gregset): Directly pass
+       &sparc64fbsd_gregset in sparc64_supply_gregset call.
+       (sparc64fbsd_init_abi): Update call to regset_alloc.
+
+2004-05-22  Jim Blandy  <jimb@redhat.com>
+
+       * ppc-tdep.h (spe_register_p): New declaration.
+       (struct gdbarch_tdep): New members: ppc_acc_regnum and
+       ppc_spefscr_regnum.
+       * rs6000-tdep.c (spe_register_p): New function.
+       (rs6000_dwarf2_stab_reg_to_regnum): Recognize numbers for acc and
+       spefscr.
+       (rs6000_gdbarch_init): Initialize the new members of the tdep
+       structure.
+
+2004-05-21  Jim Blandy  <jimb@redhat.com>
+
+       * ppc-linux-nat.c (fetch_register): Move code back to be next
+       to the comment that describes it.  (Moved code, instead of
+       comment, for symmetry with store_register.)
+
+       Allocate regset structures in the gdbarch's obstack, not using
+       xmalloc.
+       * regset.c (regset_alloc): Renamed from regset_xmalloc.
+       Add 'arch' argument.  Allocate the regset on arch's obstack, not
+       using xmalloc.
+       * regset.h (regset_alloc): Update declaration.
+       * am64-tdep.c (amd64_regset_from_core_section): Update call; pass
+       gdbarch argument.
+       * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Same.
+       * i386-tdep.c (i386_regset_from_core_section): Same.
+       * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Same.
+       * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Same.
+       * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Same.
+       * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Same.
+       * sparc64obsd-tdep.c (sparc64obsd_init_abi): Same.
+       * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Same.
+
+2004-05-21  Joel Brobecker  <brobecker@gnat.com>
+
+       * config/djgpp/fnchange.lst: Undo previous change, was useless.
+
+2004-05-21  Jim Blandy  <jimb@redhat.com>
+
+       * dwarf2expr.c (execute_stack_op): Add 'break' statements after
+       cases for DW_OP_div and DW_OP_shr.  (Thanks to Reva Cuthbertson.)
+
+2004-05-20  Jim Blandy  <jimb@redhat.com>
+
+       * rs6000-tdep.c (rs6000_push_dummy_call): Formatting fixes.
+
+2004-05-20  Mark Kettenis  <kettenis@gnu.org>
+
+       * regset.h: Make prototype const-correct.
+       * regset.c (regset_xmalloc): Make const-correct.
+
+2004-05-20  Paul N. Hilfinger  <hilfinger@gnat.com>
+
+       * symtab.h (SYMBOL_SEARCH_NAME): New definition.
+       (SYMBOL_MATCHES_SEARCH_NAME): New definition.
+       (symbol_search_name): Declare.
+       
+       * dictionary.c (iter_name_first_hashed): Match on SYMBOL_SEARCH_NAME.
+       (iter_name_next_hashed): Ditto.
+       (iter_name_next_linear): Ditto.
+       (insert_symbol_hashed): Hash on SYMBOL_SEARCH_NAME.
+
+       * symtab.c (lookup_partial_symbol): Assume symbols ordered by 
+       search name, using SYMBOL_SEARCH_NAME and SYMBOL_MATCHES_SEARCH_NAME.
+       (symbol_search_name): New function.
+       
+       * symfile.c (compare_psymbols): Order by SYMBOL_SEARCH_NAME.
+       
+       * minsyms.c (build_minimal_symbol_hash_tables): Change
+       test for adding to demangled hash table to check for difference
+       between SYMBOL_SEARCH_NAME and SYMBOL_LINKAGE_NAME.
+       
+2004-05-19  Jim Blandy  <jimb@redhat.com>
+
+       Use a constructor function to create regset structures.
+       * regset.h (supply_regset_ftype, collect_regset_ftype): New typedefs.
+       (struct regset): Use supply_regset_ftype.  Add new
+        'collect_regset' member.
+       (regset_xmalloc): New declaration.
+       * regset.c: New file.
+       * am64-tdep.c (amd64_regset_from_core_section): Use
+       regset_xmalloc to construct regset structures.
+       * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Same.
+       * i386-tdep.c (i386_regset_from_core_section): Same.
+       * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Same.
+       * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Same.
+       * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Same.
+       * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Same.
+       * sparc64obsd-tdep.c (sparc64obsd_init_abi): Same.
+       * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Same.
+       * Makefile.in (COMMON_OBS): Add regset.o.
+       (regset.o): New rule.
+
+2004-05-19  Joel Brobecker  <brobecker@gnat.com>
+
+       * config/djgpp/fnchange.lst: Add entries for pthread_cond_wait.exp
+       and pthread_cond_wait.c.
+
+2004-05-18  Jim Blandy  <jimb@redhat.com>
+
+       * rs6000-tdep.c (rs6000_gdbarch_init): Initialize tdep fields
+       before the mach-specific switch, and then let the individual cases
+       override the defaults, rather than leaving them uninitialized
+       until the switch and then setting them in each case.
+
+2004-05-18  Randolph Chung  <tausq@debian.org>
+
+       * hppa-tdep.c (hppa_frame_cache): Check for validity of r31 for
+       millicode functions.
+
+2004-05-18  Randolph Chung  <tausq@debian.org>
+
+       * somsolib.c (som_solib_remove_inferior_hook): Make all the size
+       references to dld_flags_buffer consistent.
+
+2004-05-18  Randolph Chung  <tausq@debian.org>
+
+       * hppa-tdep.c (hppa_frame_cache): If a frame pointer is available, use
+       it for unwinding the stack.
+
+2004-05-18  Randolph Chung  <tausq@debian.org>
+
+       * config/pa/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, SKIP_TRAMPOLINE_CODE)
+       Undefine these so we can overide them using gdbarch.
+
+2004-05-18  Randolph Chung <tausq@debian.org>
+
+       * hppa-tdep.c (hppa_stub_frame_unwind_cache): Don't do export stub
+       handling for 64-bit HPUX (elf).
+
+2004-05-18  Daniel Jacobowitz  <dan@debian.org>
+
+       * alpha-tdep.c (alpha_gdbarch_init): Use LL suffix for large
+       constants.
+       * amd64-tdep.c (amd64_skip_prologue): Likewise.
+       * ia64-tdep.c (examine_prologue): Likewise.
+       * ns32k-tdep.c (ns32k_fix_call_dummy): Remove unused function.
+       * v850-tdep.c (v850_fix_call_dummy): Likewise.
+
+2004-05-18  Mark Kettenis  <kettenis@gnu.org>
+
+       * vax-tdep.c (vax_return_value): Implement
+       RETURN_VALUE_ABI_RETURNS_ADDRESS.
+
+2004-05-17  Mark Kettenis  <kettenis@gnu.org>
+
+       * vax-tdep.c (vax_return_value): Fix typo.
+
+2004-05-17  Andrew Cagney  <cagney@redhat.com>
+
+       * MAINTAINERS: Mark Salter was also responsible for
+       testsuite/config/
+
+       * NEWS: Mention signal fixes.
+
+2004-05-17  Randolph Chung  <tausq@debian.org>
+
+       * hppa-tdep.c (hppa_stub_frame_unwind_cache): For HPUX stub unwinding,
+       check to see if we are unwinding an export stub.  Export stubs clobber
+       the %rp in the call path and stores the original rp in a stack slot.
+
+2004-05-17  Jim Blandy  <jimb@redhat.com>
+
+       * MAINTAINERS: Update address for J.T. Conklin.
+
+2004-05-17  Randolph Chung  <tausq@debian.org>
+
+       * hppa-tdep.c: Remove superfluous #include's.
+       * Makefile.in (hppa-tdep.o): Update dependencies.
+
+2004-05-17  Randolph Chung  <tausq@debian.org>
+
+       * hppa-tdep.c (THREAD_INITIAL_FRAME_SYMBOL): Delete unused symbol.
+       (THREAD_INITIAL_FRAME_SYM_LEN): Likewise.
+       (unwind_command, hppa_alignof, prologue_inst_adjust_sp)
+       (is_branch, inst_saves_gr, inst_saves_fr, compare_unwind_entries)
+       (read_unwind_info, internalize_unwinds, record_text_segment_lowaddr):
+       Remove static function declarations.
+
+2004-05-17  Mark Kettenis  <kettenis@gnu.org>
+
+       * alphabsd-nat.c: Update copyright year.
+       (getregs_supplies): Replace PC_REGNUM with ALPHA_PC_REGNUM.
+
+       * m68k-tdep.h (m68k_regnum): Add M68K_D2_REGNUM, M68K_D7_REGNUM
+       and M68K_A2_REGNUM.
+
+       * m68k-tdep.c (m68k_svr4_return_value): Implement
+       RETURN_VALUE_ABI_RETURNS_ADDRESS.
+
+2004-05-16  Mark Kettenis  <kettenis@gnu.org>
+
+       * sol-thread.c Update copyright year.  Fix various coding
+       standards violations.  Tweak a few comments.
+       (td_err_string, td_state_string, thread_to_lwp, lwp_to_thread):
+       Delete prototypes.
+
+2004-05-15  Randolph Chung  <tausq@debian.org>
+
+       * hppa-tdep.h (hppa_frame_prev_register_helper): Pass save_regs
+       as pointer instead of array reference since HPUX compiler does
+       not accept unsized array arguments.
+       * somsolib.c (dld_flags_buffer): Use constant array size.
+
+2004-05-15  Mark Kettenis  <kettenis@gnu.org>
+
+       * amd64obsd-tdep.c (amd64obsd_sigtramp_p): Replace hexadecimal
+       offset with decimal offset.
+       (amd64obsd_sigcontext_addr): Return correct address for entire
+       signal trampoline.
+
+       * vax-tdep.c (vax_frame_num_args): Use get_frame_base_address
+       instead of get_frame_base.
+
+       * i386bsd-nat.c (supply_gregset): Use regcache_raw_supply.
+       (fill_gregset): Use regcache_raw_collect.
+
+       * config/djgpp/fnchange.lst: Add entries for ppcobsd-nat.c and
+       ppcobsd-tdep.c.
+
+       * config/sparc/tm-nbsd64.h: Remove file.
+       * config/tm-sunos.h: Remove file.
+
+2004-05-15  Joel Brobecker  <brobecker@gnat.com>
+
+       * rs6000-tdep.c (store_param_on_stack_p): New function,
+       an improved version of some code extracted from skip_prologue().
+       (skip_prologue): Use store_param_on_stack_p() to detect
+       instructions saving a parameter on the stack. Detect when r0
+       is used to save a parameter.
+       Do not mark "li rx, SIMM" instructions as part of the prologue,
+       unless the following instruction is also part of the prologue.
+
+2004-05-14  Andrew Cagney  <cagney@redhat.com>
+
+       * infrun.c (handle_inferior_event): Simplify
+       STEP_OVER_UNDEBUGGABLE.
+
+       * infrun.c (handle_step_into_function): Delete function.
+       (handle_inferior_event): Inline calls to
+       handle_step_into_function.
+
+2004-05-14  Jerome Guitton  <guitton@rome.act-europe.fr>
+
+       * rs6000-nat.c: Fix a comment.
+
 2004-05-12  David Anderson <davea@sgi.com>
 
        Committed by Jim Blandy <jimb@redhat.com>:
This page took 0.03973 seconds and 4 git commands to generate.