freebsd-skq/sys/ddb
John Baldwin 19e9205a23 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.
2006-07-12 21:22:44 +00:00
..
db_access.c Fix -Wundef. 2005-12-04 02:12:43 +00:00
db_access.h Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
db_break.c Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
db_break.h Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
db_command.c Simplify the pager support in DDB. Allowing different db commands to 2006-07-12 21:22:44 +00:00
db_command.h Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
db_examine.c Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
db_expr.c Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
db_input.c Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
db_lex.c Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
db_lex.h Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
db_main.c Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
db_output.c Simplify the pager support in DDB. Allowing different db commands to 2006-07-12 21:22:44 +00:00
db_output.h Simplify the pager support in DDB. Allowing different db commands to 2006-07-12 21:22:44 +00:00
db_print.c rev 1.54 of i386/include/pcb.h depended on sys/proc.h. The prerequisite 2005-04-14 05:25:40 +00:00
db_ps.c Simplify the pager support in DDB. Allowing different db commands to 2006-07-12 21:22:44 +00:00
db_run.c rev 1.54 of i386/include/pcb.h depended on sys/proc.h. The prerequisite 2005-04-14 05:25:40 +00:00
db_sym.c Never zero-out db_last_symtab. Whan backtraces are done 2006-06-16 16:17:52 +00:00
db_sym.h Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
db_thread.c Simplify the pager support in DDB. Allowing different db commands to 2006-07-12 21:22:44 +00:00
db_variables.c Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
db_variables.h Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
db_watch.c Move the prototypes of db_md_set_watchpoint(), db_md_clr_watchpoint() 2005-09-10 03:01:25 +00:00
db_watch.h Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
db_write_cmd.c Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
ddb.h Simplify the pager support in DDB. Allowing different db commands to 2006-07-12 21:22:44 +00:00