diff options
| author | uwe <uwe@NetBSD.org> | 2022-04-20 19:06:35 +0000 |
|---|---|---|
| committer | uwe <uwe@NetBSD.org> | 2022-04-20 19:06:35 +0000 |
| commit | b6e8820c0d8a0c799accf772729e005192218c74 (patch) | |
| tree | 331f06783ff8cd2c71bb47f306e44e086d0ca416 /sys/dev/microcode | |
| parent | bd9ce3794c81823b29717ff55394520cae9540b2 (diff) | |
ddb: guard invocation of db_cmd_on_enter properly.
db_command_loop - do not ignore the return value from setjmp used to
guard db_cmd_on_enter. We do not want to re-execute the enter command
if it fails. Note that "fails" includes e.g. aborting long output
from the enter command with "q" at the --db more-- prompt, which is
quite likely as the default enter command is "bt".
While here, don't even bother with the whole song and dance if the
enter command is not set.
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions
