summaryrefslogtreecommitdiffstats
path: root/gdb/x86-64-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-07-19 18:22:14 +0000
committerAndrew Cagney <cagney@redhat.com>2002-07-19 18:22:14 +0000
commit8a8ab2b94993a4127ba730c1dca71d6320d84154 (patch)
treea828407c923b9629b040a3d179b0c68457228af9 /gdb/x86-64-tdep.c
parent611e7523af8a38911e7aae49a85023adf51e287f (diff)
downloadppe42-binutils-8a8ab2b94993a4127ba730c1dca71d6320d84154.tar.gz
ppe42-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/x86-64-tdep.c')
-rw-r--r--gdb/x86-64-tdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/x86-64-tdep.c b/gdb/x86-64-tdep.c
index 5b6d2cd816..37d8fc8034 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. */
OpenPOWER on IntegriCloud