diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-07-19 18:22:14 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-07-19 18:22:14 +0000 |
commit | 8a8ab2b94993a4127ba730c1dca71d6320d84154 (patch) | |
tree | a828407c923b9629b040a3d179b0c68457228af9 /gdb | |
parent | 611e7523af8a38911e7aae49a85023adf51e287f (diff) | |
download | binutils-8a8ab2b94993a4127ba730c1dca71d6320d84154.tar.gz binutils-8a8ab2b94993a4127ba730c1dca71d6320d84154.tar.bz2 binutils-8a8ab2b94993a4127ba730c1dca71d6320d84154.zip |
* Makefile.in (x86-64-tdep.o): Add $(objfiles_h).
* x86-64-tdep.c: Include "objfiles.h".
(x86_64_gdbarch_init): Set in_solib_call_trampoline to
in_plt_section. From 2002-07-18 Michal Ludvig <mludvig@suse.cz>.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/Makefile.in | 6 | ||||
-rw-r--r-- | gdb/x86-64-tdep.c | 2 |
3 files changed, 12 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 88a1c33f4f3..b27a4df3cad 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2002-07-19 Andrew Cagney <ac131313@redhat.com> + + * Makefile.in (x86-64-tdep.o): Add $(objfiles_h). + * x86-64-tdep.c: Include "objfiles.h". + (x86_64_gdbarch_init): Set in_solib_call_trampoline to + in_plt_section. From 2002-07-18 Michal Ludvig <mludvig@suse.cz>. + 2002-07-17 Michal Ludvig <michal@suse.cz> * dwarf2cfi.c (execute_stack_op): Complain on unknown DW_OP_ value. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 26d874ce155..d8dc6e0a908 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -2242,9 +2242,9 @@ vax-tdep.o: vax-tdep.c $(OP_INCLUDE)/vax.h $(defs_h) $(symtab_h) \ x86-64-linux-tdep.o : x86-64-linux-tdep.c $(defs_h) $(inferior_h) \ $(gdbcore_h) $(regcache_h) x86-64-tdep.h i386-tdep.h $(dwarf2cfi_h) -x86-64-tdep.o : x86-64-tdep.c $(defs_h) $(inferior_h) $(gdbcore_h) $(gdbcmd_h) \ - $(arch_utils_h) $(regcache_h) $(symfile_h) x86-64-tdep.h i386-tdep.h \ - $(dwarf2cfi_h) $(gdb_assert_h) +x86-64-tdep.o : x86-64-tdep.c $(defs_h) $(inferior_h) $(gdbcore_h) \ + $(gdbcmd_h) $(arch_utils_h) $(regcache_h) $(symfile_h) x86-64-tdep.h \ + i386-tdep.h $(dwarf2cfi_h) $(gdb_assert_h) $(objfiles_h) x86-64-linux-nat.o : x86-64-linux-nat.c $(defs_h) $(inferior_h) \ $(gdbcore_h) $(regcache_h) $(gdb_assert_h) x86-64-tdep.h \ diff --git a/gdb/x86-64-tdep.c b/gdb/x86-64-tdep.c index 5b6d2cd8161..37d8fc80346 100644 --- a/gdb/x86-64-tdep.c +++ b/gdb/x86-64-tdep.c @@ -28,6 +28,7 @@ #include "arch-utils.h" #include "regcache.h" #include "symfile.h" +#include "objfiles.h" #include "x86-64-tdep.h" #include "dwarf2cfi.h" #include "gdb_assert.h" @@ -1111,6 +1112,7 @@ x86_64_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) (gdbarch_breakpoint_from_pc_ftype *) x86_64_breakpoint_from_pc); + set_gdbarch_in_solib_call_trampoline (gdbarch, in_plt_section); /* Amount PC must be decremented by after a breakpoint. This is often the number of bytes in BREAKPOINT but not always. */ |