From 54448b618602f6c026fe340bc507bb06807f53f6 Mon Sep 17 00:00:00 2001 From: marcel Date: Wed, 13 Aug 2008 00:03:35 +0000 Subject: 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. --- lib/libthread_db/thread_db.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.1