cvs commit: src/sys/amd64/amd64 db_trace.c intr_machdep.c
local_apic.c src/sys/arm/arm db_trace.c src/sys/ddb db_command.c
db_output.c db_output.h db_ps.c db_thread.c ddb.h src/sys/dev/pci
pci.c src/sys/i386/i386 db_trace.c intr_machdep.c local_apic.c ...
John Baldwin
jhb at FreeBSD.org
Wed Jul 12 21:22:46 UTC 2006
jhb 2006-07-12 21:22:44 UTC
FreeBSD src repository
Modified files:
sys/amd64/amd64 db_trace.c intr_machdep.c local_apic.c
sys/arm/arm db_trace.c
sys/ddb db_command.c db_output.c db_output.h
db_ps.c db_thread.c ddb.h
sys/dev/pci pci.c
sys/i386/i386 db_trace.c intr_machdep.c local_apic.c
machdep.c
sys/ia64/ia64 db_machdep.c
sys/kern kern_intr.c kern_ktr.c subr_prf.c
sys/pc98/pc98 machdep.c
sys/powerpc/powerpc db_trace.c
sys/sparc64/sparc64 db_trace.c
Log:
Simplify the pager support in DDB. Allowing different db commands to
install custom pager functions didn't actually happen in practice (they
all just used the simple pager and passed in a local quit pointer). So,
just hardcode the simple pager as the only pager and make it set a global
db_pager_quit flag that db commands can check when the user hits 'q' (or a
suitable variant) at the pager prompt. Also, now that it's easy to do so,
enable paging by default for all ddb commands. Any command that wishes to
honor the quit flag can do so by checking db_pager_quit. Note that the
pager can also be effectively disabled by setting $lines to 0.
Other fixes:
- 'show idt' on i386 and pc98 now actually checks the quit flag and
terminates early.
- 'show intr' now actually checks the quit flag and terminates early.
Revision Changes Path
1.75 +2 -4 src/sys/amd64/amd64/db_trace.c
1.20 +2 -4 src/sys/amd64/amd64/intr_machdep.c
1.26 +2 -4 src/sys/amd64/amd64/local_apic.c
1.13 +2 -4 src/sys/arm/arm/db_trace.c
1.67 +3 -5 src/sys/ddb/db_command.c
1.35 +35 -34 src/sys/ddb/db_output.c
1.14 +2 -0 src/sys/ddb/db_output.h
1.61 +5 -9 src/sys/ddb/db_ps.c
1.6 +1 -5 src/sys/ddb/db_thread.c
1.43 +1 -6 src/sys/ddb/ddb.h
1.313 +3 -4 src/sys/dev/pci/pci.c
1.74 +2 -4 src/sys/i386/i386/db_trace.c
1.19 +2 -4 src/sys/i386/i386/intr_machdep.c
1.28 +2 -4 src/sys/i386/i386/local_apic.c
1.630 +2 -3 src/sys/i386/i386/machdep.c
1.2 +2 -4 src/sys/ia64/ia64/db_machdep.c
1.133 +4 -6 src/sys/kern/kern_intr.c
1.52 +7 -10 src/sys/kern/kern_ktr.c
1.124 +2 -5 src/sys/kern/subr_prf.c
1.377 +2 -3 src/sys/pc98/pc98/machdep.c
1.13 +1 -4 src/sys/powerpc/powerpc/db_trace.c
1.26 +6 -9 src/sys/sparc64/sparc64/db_trace.c
More information about the cvs-src
mailing list