Date: Sun, 23 May 2004 16:50:12 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 53365 for review Message-ID: <200405232350.i4NNoCYQ023761@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=53365 Change 53365 by marcel@marcel_nfs on 2004/05/23 16:49:52 If db_trace_thread() returns an error, make sure to print a new line to preserve the layout of the listing. Affected files ... .. //depot/projects/gdb/sys/ddb/db_thread.c#5 edit Differences ... ==== //depot/projects/gdb/sys/ddb/db_thread.c#5 (text+ko) ==== @@ -96,8 +96,10 @@ while (!pager_quit && thr != NULL) { db_printf(" %6d (%p) ", (int)thr->td_tid, thr); prev_jb = kdb_jmpbuf(jb); - if (setjmp(jb) == 0) - db_trace_thread(thr, 1); + if (setjmp(jb) == 0) { + if (db_trace_thread(thr, 1) != 0) + db_printf("***\n"); + } kdb_jmpbuf(prev_jb); thr = kdb_thr_next(thr); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405232350.i4NNoCYQ023761>