Commit 35a5722c by Jakub Jelinek Committed by Jakub Jelinek

gdbinit.in: Turn off pagination for the skip commands, restore it to previous state afterwards.

	* gdbinit.in: Turn off pagination for the skip commands, restore
	it to previous state afterwards.

From-SVN: r267581
parent af9b2f86
2019-01-04 Jakub Jelinek <jakub@redhat.com>
* gdbinit.in: Turn off pagination for the skip commands, restore
it to previous state afterwards.
2019-01-04 Sam Tebbs <sam.tebbs@arm.com>
PR gcc/87763
......
......@@ -219,6 +219,11 @@ macro define __null 0
macro define input_line expand_location(input_location).line
macro define input_filename expand_location(input_location).file
# Remember previous pagination status and turn it off, so that
# the messages for skip commands don't require pagination.
python __gcc_prev_pagination=gdb.parameter("pagination")
set pagination off
# Gracefully handle aborts in functions used from gdb.
set unwindonsignal on
......@@ -276,3 +281,6 @@ skip PATTERN
skip INSN_LOCATION
skip INSN_HAS_LOCATION
skip JUMP_LABEL_AS_INSN
# Restore pagination to the previous state.
python if __gcc_prev_pagination: gdb.execute("set pagination on")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment