]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* Makefile.in (x86-64-tdep.o): Add $(objfiles_h).
authorAndrew Cagney <cagney@redhat.com>
Fri, 19 Jul 2002 18:22:06 +0000 (18:22 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 19 Jul 2002 18:22:06 +0000 (18:22 +0000)
* 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>.

gdb/ChangeLog
gdb/Makefile.in
gdb/x86-64-tdep.c

index ddecba6e45eee9eb6c9535082f594cfc94675d7b..475d28f0056958931116eb6a5e5abc61d5c8be39 100644 (file)
@@ -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-15  Andrew Cagney  <ac131313@redhat.com>
 
        From Gerhard Tonn <TON@de.ibm.com>:
index 2df79bdc033608d073954a61b2146caf08c21bf8..a741ace3c2063db1aa9770e0b1855afd0cb96f87 100644 (file)
@@ -2135,9 +2135,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) i387-nat.h gdb_assert.h x86-64-tdep.h \
index b1bb1477dd6a93ae362fdda3b518be8b31c0dfb1..7b6538241d012759d5504d6d8f4496aed5cd37b1 100644 (file)
@@ -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.  */