From fc0053df42328db53ddeae98485960e3e23deb9a Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Wed, 13 Aug 2008 00:03:35 +0000 Subject: [PATCH] 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 3a1fc7fec93..3508eba35ea 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;