svn commit: r235714 - head/gnu/usr.bin/gdb/libgdb

David Xu davidxu at FreeBSD.org
Mon May 21 03:06:31 UTC 2012


Author: davidxu
Date: Mon May 21 03:06:31 2012
New Revision: 235714
URL: http://svn.freebsd.org/changeset/base/235714

Log:
  Print key value, an index, otherwise we don't know which key is allocated.

Modified:
  head/gnu/usr.bin/gdb/libgdb/fbsd-threads.c

Modified: head/gnu/usr.bin/gdb/libgdb/fbsd-threads.c
==============================================================================
--- head/gnu/usr.bin/gdb/libgdb/fbsd-threads.c	Mon May 21 02:45:47 2012	(r235713)
+++ head/gnu/usr.bin/gdb/libgdb/fbsd-threads.c	Mon May 21 03:06:31 2012	(r235714)
@@ -1311,7 +1311,7 @@ tsd_cb (thread_key_t key, void (*destruc
   else
     name = DEPRECATED_SYMBOL_NAME (ms);
 
-  printf_filtered ("Destructor %p <%s>\n", destructor, name);
+  printf_filtered ("Key %d, destructor %p <%s>\n", key, destructor, name);
   return 0;
 }
 


More information about the svn-src-head mailing list