Page MenuHomeFreeBSD

D11738.diff
No OneTemporary

D11738.diff

Index: head/lib/libthr/thread/thr_private.h
===================================================================
--- head/lib/libthr/thread/thr_private.h
+++ head/lib/libthr/thread/thr_private.h
@@ -719,6 +719,8 @@
extern int _libthr_debug;
extern int _thread_event_mask;
extern struct pthread *_thread_last_event;
+/* Used in symbol lookup of libthread_db */
+extern struct pthread_key _thread_keytable[];
/* List of all threads: */
extern pthreadlist _thread_list;
Index: head/lib/libthr/thread/thr_spec.c
===================================================================
--- head/lib/libthr/thread/thr_spec.c
+++ head/lib/libthr/thread/thr_spec.c
@@ -42,7 +42,8 @@
#include "thr_private.h"
-static struct pthread_key _thread_keytable[PTHREAD_KEYS_MAX];
+/* Used in symbol lookup of libthread_db */
+struct pthread_key _thread_keytable[PTHREAD_KEYS_MAX];
__weak_reference(_pthread_key_create, pthread_key_create);
__weak_reference(_pthread_key_delete, pthread_key_delete);

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 11, 12:00 PM (19 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23566357
Default Alt Text
D11738.diff (994 B)

Event Timeline