Author: des Date: Tue Jun 9 12:39:17 2009 New Revision: 193827 URL: http://svn.freebsd.org/changeset/base/193827
Log: merge r181651, r193826: avoid writing an int to a char *. Modified: stable/7/lib/libthread_db/ (props changed) stable/7/lib/libthread_db/libthr_db.c Modified: stable/7/lib/libthread_db/libthr_db.c ============================================================================== --- stable/7/lib/libthread_db/libthr_db.c Tue Jun 9 12:32:10 2009 (r193826) +++ stable/7/lib/libthread_db/libthr_db.c Tue Jun 9 12:39:17 2009 (r193827) @@ -457,6 +457,7 @@ pt_thr_get_info(const td_thrhandle_t *th { const td_thragent_t *ta = th->th_ta; struct ptrace_lwpinfo linfo; + int traceme; int state; int ret; @@ -470,7 +471,8 @@ pt_thr_get_info(const td_thrhandle_t *th if (ret != 0) return (TD_ERR); ret = thr_pread_int(ta, th->th_thread + ta->thread_off_report_events, - &info->ti_traceme); + &traceme); + info->ti_traceme = traceme; if (ret != 0) return (TD_ERR); ret = ps_pread(ta->ph, th->th_thread + ta->thread_off_event_mask, _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"