Add symbol versioning.
Reviewed by: davidxu
This commit is contained in:
parent
c3c1cc1abc
commit
b19d325a18
@ -12,5 +12,11 @@ INCS= thread_db.h
|
||||
WARNS?= 1
|
||||
|
||||
CFLAGS+=-I. -I${.CURDIR}
|
||||
SYM_MAPS+=${.CURDIR}/Symbol.map
|
||||
|
||||
.if defined(SYMVER_ENABLED)
|
||||
SYMBOL_MAPS=${SYM_MAPS}
|
||||
VERSION_DEF=${.CURDIR}/../libc/Versions.def
|
||||
.endif
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
31
lib/libthread_db/Symbol.map
Normal file
31
lib/libthread_db/Symbol.map
Normal file
@ -0,0 +1,31 @@
|
||||
# $FreeBSD$
|
||||
|
||||
FBSD_1.0 {
|
||||
td_init;
|
||||
td_ta_clear_event;
|
||||
td_ta_delete;
|
||||
td_ta_event_addr;
|
||||
td_ta_event_getmsg;
|
||||
td_ta_map_id2thr;
|
||||
td_ta_map_lwp2thr;
|
||||
td_ta_new;
|
||||
td_ta_set_event;
|
||||
td_ta_thr_iter;
|
||||
td_ta_tsd_iter;
|
||||
td_thr_clear_event;
|
||||
td_thr_dbresume;
|
||||
td_thr_dbsuspend;
|
||||
td_thr_event_enable;
|
||||
td_thr_event_getmsg;
|
||||
td_thr_get_info;
|
||||
td_thr_getfpregs;
|
||||
td_thr_getgregs;
|
||||
td_thr_getxmmregs; # x86 only
|
||||
td_thr_set_event;
|
||||
td_thr_setfpregs;
|
||||
td_thr_setgregs;
|
||||
td_thr_setxmmregs; # x86 only
|
||||
td_thr_sstep; # FreeBSD extension to GDB<->thread interface
|
||||
td_thr_tls_get_addr;
|
||||
td_thr_validate;
|
||||
};
|
Loading…
Reference in New Issue
Block a user