Date: Mon, 1 Nov 2004 22:15:15 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha db_trace.c src/sys/amd64/amd64 db_trace.c intr_machdep.c src/sys/arm/arm db_trace.c src/sys/ddb db_output.c db_ps.c db_thread.c db_variables.c ddb.h... Message-ID: <200411012215.iA1MFGof064810@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2004-11-01 22:15:15 UTC FreeBSD src repository Modified files: sys/alpha/alpha db_trace.c sys/amd64/amd64 db_trace.c intr_machdep.c sys/arm/arm db_trace.c sys/ddb db_output.c db_ps.c db_thread.c db_variables.c ddb.h sys/dev/pci pci.c sys/i386/i386 db_trace.c intr_machdep.c machdep.c sys/ia64/ia64 db_trace.c sys/kern kern_intr.c kern_ktr.c sys/pc98/i386 machdep.c sys/powerpc/powerpc db_trace.c sys/sparc64/sparc64 db_trace.c Log: - Change the ddb paging "support" to use a variable (db_lines_per_page) to control the number of lines per page rather than a constant. The variable can be examined and changed in ddb as '$lines'. Setting the variable to 0 will effectively turn off paging. - Change db_putchar() to force out pending whitespace before outputting newlines and carriage returns so that one can rub out content on the current line via '\r \r' type strings. - Change the simple pager to rub out the --More-- prompt explicitly when the routine exits. - Add some aliases to the simple pager to make it more compatible with more(1): 'e' and 'j' do a single line. 'd' does half a page, and 'f' does a full page. MFC after: 1 month Inspired by: kris Revision Changes Path 1.22 +1 -1 src/sys/alpha/alpha/db_trace.c 1.64 +1 -1 src/sys/amd64/amd64/db_trace.c 1.10 +1 -1 src/sys/amd64/amd64/intr_machdep.c 1.7 +1 -1 src/sys/arm/arm/db_trace.c 1.32 +24 -8 src/sys/ddb/db_output.c 1.54 +1 -1 src/sys/ddb/db_ps.c 1.2 +1 -1 src/sys/ddb/db_thread.c 1.22 +1 -0 src/sys/ddb/db_variables.c 1.37 +1 -2 src/sys/ddb/ddb.h 1.267 +1 -1 src/sys/dev/pci/pci.c 1.64 +1 -1 src/sys/i386/i386/db_trace.c 1.10 +1 -1 src/sys/i386/i386/intr_machdep.c 1.600 +1 -1 src/sys/i386/i386/machdep.c 1.22 +1 -1 src/sys/ia64/ia64/db_trace.c 1.116 +1 -1 src/sys/kern/kern_intr.c 1.46 +1 -1 src/sys/kern/kern_ktr.c 1.345 +1 -1 src/sys/pc98/i386/machdep.c 1.7 +1 -1 src/sys/powerpc/powerpc/db_trace.c 1.22 +1 -1 src/sys/sparc64/sparc64/db_trace.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411012215.iA1MFGof064810>