Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F131703911
D11738.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
994 B
Referenced Files
None
Subscribers
None
D11738.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D11738: [libthr] revert change of visibility of _thread_keytable to unbreak debugger
Attached
Detach File
Event Timeline
Log In to Comment