]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Add support for "paging" in stack trace output. That is, when you do
authorJohn Baldwin <jhb@FreeBSD.org>
Mon, 20 Sep 2004 19:05:32 +0000 (19:05 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Mon, 20 Sep 2004 19:05:32 +0000 (19:05 +0000)
commit76764432e4a9595092bcaccd8153b269cdaaa831
treeb2136a0a4b646b54ea0fa359879a4c4a13989501
parentb89daf89a80faa1fcd9b67b0433b7b119eba8279
- Add support for "paging" in stack trace output.  That is, when you do
  a stack trace from ddb, the output will pause with a '--More--' prompt
  every 18 lines.  If you hit Enter, it will print another line and prompt
  again.  If you hit space it will output another page and then prompt.
  If you hit 'q' or 'x' it will abort the rest of the stack trace.
- Fix the sparc64 userland stack trace to honor the total count of lines
  to print.  This is useful if your trace happens to walk back onto
  0xdeadc0de and gets stuck in an endless loop.

MFC after: 1 month
Tested on: i386, alpha, sparc64
sys/alpha/alpha/db_trace.c
sys/amd64/amd64/db_trace.c
sys/arm/arm/db_trace.c
sys/i386/i386/db_trace.c
sys/ia64/ia64/db_trace.c
sys/powerpc/powerpc/db_trace.c
sys/sparc64/sparc64/db_trace.c