freebsd-nq/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
db_break.c
db_break.h
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
db_examine.c
db_expr.c
db_input.c
db_lex.c
db_lex.h
db_main.c
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
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
db_sym.c Never zero-out db_last_symtab. Whan backtraces are done 2006-06-16 16:17:52 +00:00
db_sym.h
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
db_variables.h
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
db_write_cmd.c
ddb.h Simplify the pager support in DDB. Allowing different db commands to 2006-07-12 21:22:44 +00:00