autotest: fixed annoying gdb pagination on reboot

This commit is contained in:
Andrew Tridgell 2022-04-08 07:57:45 +10:00 committed by Peter Barker
parent 08e22095a9
commit 2b2cac3f19

View File

@ -640,6 +640,7 @@ def start_vehicle(binary, opts, stuff, spawns=None):
gdb_commands_file.write("b %s\n" % (breakpoint,))
if opts.disable_breakpoints:
gdb_commands_file.write("disable\n")
gdb_commands_file.write("set pagination off\n")
if not opts.gdb_stopped:
gdb_commands_file.write("r\n")
gdb_commands_file.close()