Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Sep 2004 14:53:09 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 61697 for review
Message-ID:  <200409171453.i8HEr9B1084144@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=61697

Change 61697 by jhb@jhb_slimer on 2004/09/17 14:52:30

	Try to fix traces from kdb_backtrace() (i.e. nto in ddb) so that
	they won't try to pause.

Affected files ...

.. //depot/projects/smpng/sys/i386/i386/db_trace.c#18 edit

Differences ...

==== //depot/projects/smpng/sys/i386/i386/db_trace.c#18 (text+ko) ====

@@ -387,7 +387,8 @@
 
 	first = TRUE;
 	quit = 0;
-	db_setup_paging(db_simple_pager, &quit, DB_LINES_PER_PAGE);
+	if (kdb_active)
+		db_setup_paging(db_simple_pager, &quit, DB_LINES_PER_PAGE);
 	while (count-- && !quit) {
 		sym = db_search_symbol(pc, DB_STGY_ANY, &offset);
 		db_symbol_values(sym, &name, NULL);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409171453.i8HEr9B1084144>