summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2008-08-13 00:03:35 +0000
committermarcel <marcel@FreeBSD.org>2008-08-13 00:03:35 +0000
commit54448b618602f6c026fe340bc507bb06807f53f6 (patch)
treec98782a2fa9ae169711a5faf91d967edb851b613 /lib
parentfcf41a718f3a8d7be85995a33114716f81fecdf1 (diff)
downloadFreeBSD-src-54448b618602f6c026fe340bc507bb06807f53f6.zip
FreeBSD-src-54448b618602f6c026fe340bc507bb06807f53f6.tar.gz
Change the type of ti_traceme from a char to an int as its
address is passed to ps_pread for reading sizeof(int) bytes.
Diffstat (limited to 'lib')
-rw-r--r--lib/libthread_db/thread_db.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthread_db/thread_db.h b/lib/libthread_db/thread_db.h
index 3a1fc7f..3508eba 100644
--- a/lib/libthread_db/thread_db.h
+++ b/lib/libthread_db/thread_db.h
@@ -184,7 +184,7 @@ typedef struct {
int ti_pri;
lwpid_t ti_lid;
char ti_db_suspended;
- char ti_traceme;
+ int ti_traceme;
sigset_t ti_sigmask;
sigset_t ti_pending;
psaddr_t ti_tls;
OpenPOWER on IntegriCloud