From: Andrew Cagney Date: Fri, 19 Jul 2002 18:22:06 +0000 (+0000) Subject: * Makefile.in (x86-64-tdep.o): Add $(objfiles_h). X-Git-Tag: gdb_5_2_1-2002-07-23-release~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4d0073e1b3f7b2bb7a263f3cb2ce5e36c1a7a225;p=thirdparty%2Fbinutils-gdb.git * 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 . --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ddecba6e45e..475d28f0056 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2002-07-19 Andrew Cagney + + * 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 . + 2002-07-15 Andrew Cagney From Gerhard Tonn : diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 2df79bdc033..a741ace3c20 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -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 \ diff --git a/gdb/x86-64-tdep.c b/gdb/x86-64-tdep.c index b1bb1477dd6..7b6538241d0 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. */