This is the mail archive of the gdb@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: Process record AMD64 patches got soem FAIL with testsuite


Hui Zhu wrote:

make check RUNTESTFLAGS="solib-reverse.exp --target_board=precord"

FAIL: gdb.reverse/solib-reverse.exp: reverse-step third sleep

Hui, try adding the attached patch to your amd64 patch. I think it should fix your "solib-reverse.exp" fails, and it causes no regressions in the rest of the testsuite.

With this and the two testsuite changes that I made this week,
you should have no more reverse-debugging testsuite fails for
amd64.

Michael

Index: amd64-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/amd64-linux-tdep.c,v
retrieving revision 1.25
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	16 Jul 2009 02:40:57 -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]