haiku/src/system/kernel/debug
Ingo Weinhold 73aa393d73 * Introduced pipes in the kernel debugger. The syntax is similar to
pipes in the shell, though the semantics is a little different: The
  second command is invoked whenever the first command has written a
  complete line. The line is passed as last argument to the second
  command. The new command flag B_KDEBUG_PIPE_FINAL_RERUN causes the
  second command to be invoked again (with NULL argument) after the
  first command is done.
* Added kprintf_unfiltered() and kputs_unfiltered() which bypass the
  pipe mechanism and directly print to the bluescreen/serial output.
* Moved most commands from debug.cpp to the new
  debug_builtin_commands.cpp.
* B_KDEBUG_DONT_PARSE_ARGUMENTS commands don't get an argument anymore,
  if it would consist of white space only.
* Added new debugger command return value B_KDEBUG_ERROR, which
  indicates that executing the command failed. This return code will
  abort a complete pipe.
* Since debugger commands can nest (i.e. one command can invoke another
  one) the setjmp()/longjmp() mechanism to restore the stack after a
  page fault in a command needs more than one jump buffer.
* Added abort_debugger_command(), which longjmp()s out of the currently
  executed command. This will also abort the current pipe.
* When pagination is enabled pressing "a" will abort the running command
  (as opposed to "q" which only disables the blue screen output, but
  lets the command continue).
* Added debugger commands:
  - "grep" which can be used to filter output by pattern. Removed the
    "filter" command and the underlying mechanism that did that before.
  - "head" which prints only the first lines of output of another
    command.
  - "wc" counts lines, words, and characters of another command's
    output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-01 02:25:00 +00:00
..
blue_screen.cpp * Introduced pipes in the kernel debugger. The syntax is similar to 2008-06-01 02:25:00 +00:00
blue_screen.h Ctrl-L clears the KDL screen. 2008-04-29 01:24:41 +00:00
debug_builtin_commands.cpp * Introduced pipes in the kernel debugger. The syntax is similar to 2008-06-01 02:25:00 +00:00
debug_builtin_commands.h * Introduced pipes in the kernel debugger. The syntax is similar to 2008-06-01 02:25:00 +00:00
debug_commands.cpp * Introduced pipes in the kernel debugger. The syntax is similar to 2008-06-01 02:25:00 +00:00
debug_commands.h * Introduced pipes in the kernel debugger. The syntax is similar to 2008-06-01 02:25:00 +00:00
debug_output_filter.h * Introduced pipes in the kernel debugger. The syntax is similar to 2008-06-01 02:25:00 +00:00
debug_paranoia.cpp * Changed macros that enable tracing for individual components from 2008-04-27 14:24:18 +00:00
debug_parser.cpp * Introduced pipes in the kernel debugger. The syntax is similar to 2008-06-01 02:25:00 +00:00
debug_variables.cpp * Changed the way temporary variables work. They won't be unset before 2008-01-16 21:50:59 +00:00
debug_variables.h * Changed the way temporary variables work. They won't be unset before 2008-01-16 21:50:59 +00:00
debug.cpp * Introduced pipes in the kernel debugger. The syntax is similar to 2008-06-01 02:25:00 +00:00
font.h
frame_buffer_console.cpp Patch by Jan Klötzke with minor changes by myself: 2008-05-28 10:48:01 +00:00
gdb.c * vm.h no longer includes vm_types.h - only those that actually need access 2007-09-27 12:21:33 +00:00
gdb.h debug.c -> debug.cpp 2008-01-14 09:50:32 +00:00
Jamfile * Introduced pipes in the kernel debugger. The syntax is similar to 2008-06-01 02:25:00 +00:00
tracing.cpp * Fixed kernel tracing for gcc 4. The ABI changed in a way that isn't 2008-05-17 18:59:19 +00:00
user_debugger.cpp * Introduced a set of functions (thread_prepare_to_block(), 2008-04-22 16:22:42 +00:00