diff --git a/sys/ddb/db_examine.c b/sys/ddb/db_examine.c index b9d4353da82a..eba6151926d7 100644 --- a/sys/ddb/db_examine.c +++ b/sys/ddb/db_examine.c @@ -80,7 +80,7 @@ db_examine(addr, fmt, count) int width; char * fp; - while (--count >= 0) { + while (--count >= 0 && !db_pager_quit) { fp = fmt; size = 4; while ((c = *fp++) != 0) {