svn commit: r203878 - in projects/ppc64: contrib/gdb/gdb libexec/rtld-elf

Nathan Whitehorn nwhitehorn at FreeBSD.org
Sun Feb 14 16:18:26 UTC 2010


Author: nwhitehorn
Date: Sun Feb 14 16:18:25 2010
New Revision: 203878
URL: http://svn.freebsd.org/changeset/base/203878

Log:
  First step at making GDB work on live processes: add a dot symbol entry
  for our db state function.

Modified:
  projects/ppc64/contrib/gdb/gdb/solib-svr4.c
  projects/ppc64/libexec/rtld-elf/Symbol.map

Modified: projects/ppc64/contrib/gdb/gdb/solib-svr4.c
==============================================================================
--- projects/ppc64/contrib/gdb/gdb/solib-svr4.c	Sun Feb 14 15:55:30 2010	(r203877)
+++ projects/ppc64/contrib/gdb/gdb/solib-svr4.c	Sun Feb 14 16:18:25 2010	(r203878)
@@ -94,6 +94,7 @@ static char *solib_break_names[] =
      into the data section (thus skipping the descriptor's symbol),
      and eventually try this one, giving us the real entry point
      address.  */
+  ".r_debug_state",
   "._dl_debug_state",
 
   NULL

Modified: projects/ppc64/libexec/rtld-elf/Symbol.map
==============================================================================
--- projects/ppc64/libexec/rtld-elf/Symbol.map	Sun Feb 14 15:55:30 2010	(r203877)
+++ projects/ppc64/libexec/rtld-elf/Symbol.map	Sun Feb 14 16:18:25 2010	(r203878)
@@ -15,6 +15,9 @@ FBSD_1.0 {
     dlinfo;
     dl_iterate_phdr;
     r_debug_state;
+#ifdef __powerpc64__
+    .r_debug_state;
+#endif
     __tls_get_addr;
 };
 


More information about the svn-src-projects mailing list