svn commit: r362126 - head/sys/vm
Conrad Meyer
cem at freebsd.org
Thu Jun 18 17:54:07 UTC 2020
On Thu, Jun 18, 2020 at 10:19 AM John Baldwin <jhb at freebsd.org> wrote:
>
> On 6/17/20 5:48 PM, Conrad Meyer wrote:
> > db_printf checks the pager, via db_putc.
>
> It doesn't break out of the loops for you though (e.g. via setjmp or the
> like). Commands still have to check db_pager_quit directly if they wish
> to abort early to honor a user entering 'q' at the pager prompt.
It does for Ctrl-C, but not 'q', true. It could easily do the same
for 'q' as Ctrl-C: db_error(NULL) => kdb_reenter_silent().
More information about the svn-src-all
mailing list