diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2015-02-17 13:47:52 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-17 14:34:55 -0800 |
commit | a9c5bcfa43420365535ef42c1ff1e83aa056f25e (patch) | |
tree | 5eb8b9f771cc15f370316a73849d57b46b35998d /samples | |
parent | 158daf167377dfc49ce6d70f70fd7c6fab2df987 (diff) | |
download | linux-a9c5bcfa43420365535ef42c1ff1e83aa056f25e.tar.gz linux-a9c5bcfa43420365535ef42c1ff1e83aa056f25e.tar.bz2 linux-a9c5bcfa43420365535ef42c1ff1e83aa056f25e.zip |
scripts/gdb: disable pagination while printing from breakpoint handler
While reporting the (refreshed) list of modules on automatic updates we
may hit the page boundary of the output console and cause a stop if
pagination is enabled. However, gdb does not accept user input while
running over the breakpoint handler. So we get stuck, and the user is
forced to interrupt gdb.
Resolve this by disabling pagination during automatic symbol updates. We
restore the user's configuration once done.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Wessel <jason.wessel@windriver.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Ben Widawsky <ben@bwidawsk.net>
Cc: Borislav Petkov <bp@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions