WSL2-Linux-Kernel/scripts/gdb/linux
Jan Kiszka a9c5bcfa43 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>
2015-02-17 14:34:55 -08:00
..
.gitignore scripts/gdb: ignore byte-compiled python files 2015-02-17 14:34:54 -08:00
Makefile scripts/gdb: add infrastructure 2015-02-17 14:34:53 -08:00
cpus.py scripts/gdb: convert CpuList to generator function 2015-02-17 14:34:55 -08:00
dmesg.py scripts/gdb: port to python3 / gdb7.7 2015-02-17 14:34:54 -08:00
modules.py scripts/gdb: convert CpuList to generator function 2015-02-17 14:34:55 -08:00
symbols.py scripts/gdb: disable pagination while printing from breakpoint handler 2015-02-17 14:34:55 -08:00
tasks.py scripts/gdb: use a generator instead of iterator for task list 2015-02-17 14:34:54 -08:00
utils.py scripts/gdb: port to python3 / gdb7.7 2015-02-17 14:34:54 -08:00