summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2012-05-21 03:06:31 +0000
committerdavidxu <davidxu@FreeBSD.org>2012-05-21 03:06:31 +0000
commite7da48dd43890a34e0959201b2b30b80c60a50d4 (patch)
treecac2867f334498f4c38f88575ce58fa20798e552 /gnu
parentac02c7a60d5dd855b26b242d5c4059a0c489499d (diff)
downloadFreeBSD-src-e7da48dd43890a34e0959201b2b30b80c60a50d4.zip
FreeBSD-src-e7da48dd43890a34e0959201b2b30b80c60a50d4.tar.gz
Print key value, an index, otherwise we don't know which key is allocated.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gdb/libgdb/fbsd-threads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/gdb/libgdb/fbsd-threads.c b/gnu/usr.bin/gdb/libgdb/fbsd-threads.c
index 5733e40..78819a7 100644
--- a/gnu/usr.bin/gdb/libgdb/fbsd-threads.c
+++ b/gnu/usr.bin/gdb/libgdb/fbsd-threads.c
@@ -1311,7 +1311,7 @@ tsd_cb (thread_key_t key, void (*destructor)(void *), void *ignore)
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;
}
OpenPOWER on IntegriCloud