This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA/RFC Prec] Add Linux AMD64 process record support second version, (AMD64 Linux system call support) 3/3


Hui Zhu wrote:
Hi Michael,

I still got fail with solib-reverse.exp with this patch.

Did you include this diff?


diff -u -p -r1.25 amd64-linux-tdep.c
--- amd64-linux-tdep.c  2 Jul 2009 17:25:52 -0000       1.25
+++ amd64-linux-tdep.c  25 Jul 2009 20:51:17 -0000
@@ -291,6 +291,9 @@ amd64_linux_init_abi (struct gdbarch_inf
   set_gdbarch_fetch_tls_load_module_address (gdbarch,
                                              svr4_fetch_objfile_link_map);

+  /* GNU/Linux uses SVR4-style shared libraries.  */
+  set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target);
+
   /* Displaced stepping.  */
   set_gdbarch_displaced_step_copy_insn (gdbarch,
                                         amd64_displaced_step_copy_insn);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]