Sourceware Bugzilla – Attachment 14181 Details for
Bug 29297
[gdb] ThreadSanitizer: data race gdb/event-top.c:1211 in handle_sigterm(int) [Location sync_quit_force_run]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
gdb.log
gdb.log (text/x-log), 743.85 KB, created by
Tom de Vries
on 2022-06-29 12:11:37 UTC
(
hide
)
Description:
gdb.log
Filename:
MIME Type:
Creator:
Tom de Vries
Created:
2022-06-29 12:11:37 UTC
Size:
743.85 KB
patch
obsolete
>Test run by vries on Wed Jun 29 12:38:25 2022 >Native configuration is x86_64-pc-linux-gnu > > === gdb tests === > >Schedule of variations: > unix > >Running target unix >Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. >Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. >Using /home/vries/gdb_versions/devel/src/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file. >Running /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.exp ... >Executing on host: gcc -fno-stack-protector -fdiagnostics-color=never -DTIMEOUT=$timeout -c -g -o /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm0.o /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c (timeout = 300) >builtin_spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -DTIMEOUT=300 -c -g -o /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm0.o /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c >Executing on host: gcc -fno-stack-protector /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm0.o -fdiagnostics-color=never -DTIMEOUT=$timeout -g -lm -o /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm (timeout = 300) >builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm0.o -fdiagnostics-color=never -DTIMEOUT=300 -g -lm -o /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=0: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=0: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=0: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 9625.9625.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 9625.9625.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9625.9625.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9625.9625.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9625.9625.0 [process 9625], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9625.9625.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=0: run a bit >Executing on host: kill -TERM 9610 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 9610 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9625.9625.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9625.9625.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9625.9625.0 [process 9625], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9625.9625.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9625.9625.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9625.9625.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9625.9625.0 [process 9625], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9625.9625.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9625.9625.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9625.9625.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9625.9625.0 [process 9625], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9625.9625.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9625.9625.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9625.9625.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9625.9625.0 [process 9625], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9625.9625.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9625.9625.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9625.9625.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9625.9625.0 [process 9625], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9625.9625.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9625.9625.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9625.9625.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=0: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=0: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=1: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=1: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=1: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 9653.9653.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 9653.9653.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9653.9653.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9653.9653.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9653.9653.0 [process 9653], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9653.9653.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520PASS: gdb.base/gdb-sigterm.exp: pass=1: run a bit >Executing on host: kill -TERM 9638 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 9638 >-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9653.9653.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9653.9653.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9653.9653.0 [process 9653], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9653.9653.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9653.9653.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9653.9653.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9653.9653.0 [process 9653], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9653.9653.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9653.9653.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9653.9653.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9653.9653.0 [process 9653], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9653.9653.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9653.9653.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9653.9653.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9653.9653.0 [process 9653], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9653.9653.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9653.9653.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9653.9653.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9653.9653.0 [process 9653], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9653.9653.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9653.9653.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9653.9653.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=1: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=1: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=2: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=2: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=2: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 9681.9681.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 9681.9681.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9681.9681.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9681.9681.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9681.9681.0 [process 9681], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9681.9681.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=2: run a bit >Executing on host: kill -TERM 9666 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 9666 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9681.9681.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9681.9681.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9681.9681.0 [process 9681], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9681.9681.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9681.9681.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9681.9681.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9681.9681.0 [process 9681], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9681.9681.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9681.9681.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9681.9681.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9681.9681.0 [process 9681], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9681.9681.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9681.9681.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9681.9681.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9681.9681.0 [process 9681], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9681.9681.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9681.9681.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9681.9681.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9681.9681.0 [process 9681], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9681.9681.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9681.9681.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9681.9681.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >Exception ignored in: <gdb._GdbOutputFile object at 0x7fcb549ccfd0> >Traceback (most recent call last): > File "/home/vries/gdb_versions/devel/build/gdb/data-directory/python/gdb/__init__.py", line 47, in flush > def flush(self): >KeyboardInterrupt >PASS: gdb.base/gdb-sigterm.exp: pass=2: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=2: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=3: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=3: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=3: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 9709.9709.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 9709.9709.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9709.9709.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9709.9709.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9709.9709.0 [process 9709], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9709.9709.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520PASS: gdb.base/gdb-sigterm.exp: pass=3: run a bit >Executing on host: kill -TERM 9694 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 9694 >-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9709.9709.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9709.9709.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9709.9709.0 [process 9709], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9709.9709.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9709.9709.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9709.9709.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9709.9709.0 [process 9709], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9709.9709.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9709.9709.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9709.9709.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9709.9709.0 [process 9709], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9709.9709.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9709.9709.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9709.9709.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9709.9709.0 [process 9709], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9709.9709.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9709.9709.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9709.9709.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9709.9709.0 [process 9709], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9709.9709.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9709.9709.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9709.9709.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=3: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=3: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=4: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=4: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=4: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 9737.9737.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 9737.9737.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [PASS: gdb.base/gdb-sigterm.exp: pass=4: run a bit >Executing on host: kill -TERM 9722 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 9722 >0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = >================== >[1m[31mWARNING: ThreadSanitizer: data race (pid=9722) >[1m[0m[1m[34m Write of size 4 at 0x00000325bc68 by thread T1: >[1m[0m [infrun #0 handle_sigterm(int) /home/vries/gdb_versions/devel/src/gdb/event-top.c:1211 (gdb+0x8ec01f) >] print_target_wait_results: #1 <null> <null> (libtsan.so.2+0x3eb6c) > 9737.9737.0 [process 9737], #2 gdb::thread_pool::thread_function() /home/vries/gdb_versions/devel/src/gdbsupport/thread-pool.cc:235 (gdb+0x1c4254b) > > #3 void std::__invoke_impl<void, void (gdb::thread_pool::*)(), gdb::thread_pool*>(std::__invoke_memfun_deref, void (gdb::thread_pool::*&&)(), gdb::thread_pool*&&) /usr/include/c++/12/bits/invoke.h:74 (gdb+0x1c461c5) > [infrun] #4 std::__invoke_result<void (gdb::thread_pool::*)(), gdb::thread_pool*>::type std::__invoke<void (gdb::thread_pool::*)(), gdb::thread_pool*>(void (gdb::thread_pool::*&&)(), gdb::thread_pool*&&) /usr/include/c++/12/bits/invoke.h:96 (gdb+0x1c460a2) >print_target_wait_results: #5 void std::thread::_Invoker<std::tuple<void (gdb::thread_pool::*)(), gdb::thread_pool*> >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/12/bits/std_thread.h:252 (gdb+0x1c45fb2) >status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > #6 std::thread::_Invoker<std::tuple<void (gdb::thread_pool::*)(), gdb::thread_pool*> >::operator()() /usr/include/c++/12/bits/std_thread.h:259 (gdb+0x1c45f42) > #7 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (gdb::thread_pool::*)(), gdb::thread_pool*> > >::_M_run() /usr/include/c++/12/bits/std_thread.h:210 (gdb+0x1c45efc) > [infrun] handle_inferior_event: #8 <null> <null> (libstdc++.so.6+0xdcaa2) > >[1m[34m Previous read of size 4 at 0x00000325bc68 by main thread: >[1m[0m [failed to restore the stack] > >[1m[32m Location is global 'sync_quit_force_run' of size 4 at 0x00000325bc68 (gdb+0x325bc68) > >[1m[0m[1m[36m Thread T1 'gdb worker' (tid=9730, running) created by main thread at:status->kind = STOPPED, sig = GDB_SIGNAL_TRAP >[1m[0m > #0 pthread_create <null> (libtsan.so.2+0x61bb6) > #1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xdcdab) > [ #2 gdb::thread_pool::set_thread_count(unsigned long) /home/vries/gdb_versions/devel/src/gdbsupport/thread-pool.cc:168 (gdb+0x1c42260) >infrun] start_step_over: #3 update_thread_pool_size /home/vries/gdb_versions/devel/src/gdb/maint.c:855 (gdb+0xb0a0a4) >enter #4 _initialize_maint_cmds() /home/vries/gdb_versions/devel/src/gdb/maint.c:1476 (gdb+0xb0badd) > > #5 initialize_all_files() /home/vries/gdb_versions/devel/build/gdb/init.c:770 (gdb+0x10bcf45) > [infrun] start_step_over: #6 gdb_init() /home/vries/gdb_versions/devel/src/gdb/top.c:2431 (gdb+0xf5e1b4) >stealing global queue of threads to step, length = #7 captured_main_1 /home/vries/gdb_versions/devel/src/gdb/main.c:1022 (gdb+0xafd28d) >0 > #8 captured_main /home/vries/gdb_versions/devel/src/gdb/main.c:1319 (gdb+0xafe3ee) > [ #9 gdb_main(captured_main_args*) /home/vries/gdb_versions/devel/src/gdb/main.c:1344 (gdb+0xafe477) >infrun] operator(): #10 main /home/vries/gdb_versions/devel/src/gdb/gdb.c:32 (gdb+0x4191c5) > >step-over queue now emptySUMMARY: ThreadSanitizer: data race /home/vries/gdb_versions/devel/src/gdb/event-top.c:1211 in handle_sigterm(int) >================== > > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter >================== >[1m[31mWARNING: ThreadSanitizer: data race (pid=9722) >[1m[0m[1m[34m Read of size 8 at 0x00000307b898 by thread T1: >[1m[0m [infrun] #0 set_quit_flag() /home/vries/gdb_versions/devel/src/gdb/extension.c:782 (gdb+0x8f6adc) >scoped_disable_commit_resumed: reason= #1 handle_sigterm(int) /home/vries/gdb_versions/devel/src/gdb/event-top.c:1212 (gdb+0x8ec02e) >handling event > #2 <null> <null> (libtsan.so.2+0x3eb6c) > #3 gdb::thread_pool::thread_function() /home/vries/gdb_versions/devel/src/gdbsupport/thread-pool.cc:235 (gdb+0x1c4254b) > [infrun] random_pending_event_thread #4 void std::__invoke_impl<void, void (gdb::thread_pool::*)(), gdb::thread_pool*>(std::__invoke_memfun_deref, void (gdb::thread_pool::*&&)(), gdb::thread_pool*&&) /usr/include/c++/12/bits/invoke.h:74 (gdb+0x1c461c5) >: None found. #5 std::__invoke_result<void (gdb::thread_pool::*)(), gdb::thread_pool*>::type std::__invoke<void (gdb::thread_pool::*)(), gdb::thread_pool*>(void (gdb::thread_pool::*&&)(), gdb::thread_pool*&&) /usr/include/c++/12/bits/invoke.h:96 (gdb+0x1c460a2) > > #6 void std::thread::_Invoker<std::tuple<void (gdb::thread_pool::*)(), gdb::thread_pool*> >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/12/bits/std_thread.h:252 (gdb+0x1c45fb2) > #7 std::thread::_Invoker<std::tuple<void (gdb::thread_pool::*)(), gdb::thread_pool*> >::operator()() /usr/include/c++/12/bits/std_thread.h:259 (gdb+0x1c45f42) > #8 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (gdb::thread_pool::*)(), gdb::thread_pool*> > >::_M_run() /usr/include/c++/12/bits/std_thread.h:210 (gdb+0x1c45efc) > #9 <null> <null> (libstdc++.so.6+0xdcaa2) > >[1m[34m Previous write of size 8 at 0x00000307b898 by main thread: >[1m[0m [failed to restore the stack] > >[1m[32m Location is global 'active_ext_lang' of size 8 at 0x00000307b898 (gdb+0x307b898) > >[1m[0m[1m[36m Thread T1 'gdb worker' (tid=9730, running) created by main thread at: >[1m[0m #0 pthread_create <null> (libtsan.so.2+0x61bb6) > #1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xdcdab) > [infrun] #2 gdb::thread_pool::set_thread_count(unsigned long) /home/vries/gdb_versions/devel/src/gdbsupport/thread-pool.cc:168 (gdb+0x1c42260) >print_target_wait_results: #3 update_thread_pool_size /home/vries/gdb_versions/devel/src/gdb/maint.c:855 (gdb+0xb0a0a4) >target_wait (-1.0.0 [process -1 #4 _initialize_maint_cmds() /home/vries/gdb_versions/devel/src/gdb/maint.c:1476 (gdb+0xb0badd) >], status) = > #5 initialize_all_files() /home/vries/gdb_versions/devel/build/gdb/init.c:770 (gdb+0x10bcf45) > #6 gdb_init() /home/vries/gdb_versions/devel/src/gdb/top.c:2431 (gdb+0xf5e1b4) >[infrun] print_target_wait_results: #7 captured_main_1 /home/vries/gdb_versions/devel/src/gdb/main.c:1022 (gdb+0xafd28d) > 9737.9737.0 [ #8 captured_main /home/vries/gdb_versions/devel/src/gdb/main.c:1319 (gdb+0xafe3ee) >process 9737], > #9 gdb_main(captured_main_args*) /home/vries/gdb_versions/devel/src/gdb/main.c:1344 (gdb+0xafe477) > #10 main /home/vries/gdb_versions/devel/src/gdb/gdb.c:32 (gdb+0x4191c5) >[ >infrun] print_target_wait_results: SUMMARY: ThreadSanitizer: data race /home/vries/gdb_versions/devel/src/gdb/extension.c:782 in set_quit_flag() >================== > status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9737.9737.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] ================== >random_pending_event_thread[1m[31mWARNING: ThreadSanitizer: data race (pid=9722) >[1m[0m[1m[34m: Write of size 4 at 0x00000325bd08 by thread T1: >[1m[0mNone found. #0 set_quit_flag() /home/vries/gdb_versions/devel/src/gdb/extension.c:787 (gdb+0x8f6b81) > > #1 handle_sigterm(int) /home/vries/gdb_versions/devel/src/gdb/event-top.c:1212 (gdb+0x8ec02e) > #2 <null> <null> (libtsan.so.2+0x3eb6c) > #3 gdb::thread_pool::thread_function() /home/vries/gdb_versions/devel/src/gdbsupport/thread-pool.cc:235 (gdb+0x1c4254b) > #4 void std::__invoke_impl<void, void (gdb::thread_pool::*)(), gdb::thread_pool*>(std::__invoke_memfun_deref, void (gdb::thread_pool::*&&)(), gdb::thread_pool*&&) /usr/include/c++/12/bits/invoke.h:74 (gdb+0x1c461c5) > #5 std::__invoke_result<void (gdb::thread_pool::*)(), gdb::thread_pool*>::type std::__invoke<void (gdb::thread_pool::*)(), gdb::thread_pool*>(void (gdb::thread_pool::*&&)(), gdb::thread_pool*&&) /usr/include/c++/12/bits/invoke.h:96 (gdb+0x1c460a2) > #6 void std::thread::_Invoker<std::tuple<void (gdb::thread_pool::*)(), gdb::thread_pool*> >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/12/bits/std_thread.h:252 (gdb+0x1c45fb2) > [infrun] #7 std::thread::_Invoker<std::tuple<void (gdb::thread_pool::*)(), gdb::thread_pool*> >::operator()() /usr/include/c++/12/bits/std_thread.h:259 (gdb+0x1c45f42) >print_target_wait_results: #8 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (gdb::thread_pool::*)(), gdb::thread_pool*> > >::_M_run() /usr/include/c++/12/bits/std_thread.h:210 (gdb+0x1c45efc) >target_wait (-1.0.0 [process -1 #9 <null> <null> (libstdc++.so.6+0xdcaa2) > >], status) =[1m[34m Previous read of size 4 at 0x00000325bd08 by main thread: >[1m[0m > #0 check_quit_flag() /home/vries/gdb_versions/devel/src/gdb/extension.c:817 (gdb+0x8f6ca8) > [ #1 target_terminal::inferior() /home/vries/gdb_versions/devel/src/gdb/target.c:970 (gdb+0xf1413f) >infrun] print_target_wait_results: #2 do_target_resume /home/vries/gdb_versions/devel/src/gdb/infrun.c:2267 (gdb+0xa280e8) > 9737.9737.0 [ #3 resume_1 /home/vries/gdb_versions/devel/src/gdb/infrun.c:2670 (gdb+0xa28f73) >process 9737], > #4 resume /home/vries/gdb_versions/devel/src/gdb/infrun.c:2683 (gdb+0xa2904d) > #5 keep_going_pass_signal /home/vries/gdb_versions/devel/src/gdb/infrun.c:8262 (gdb+0xa3bcff) >[infrun] print_target_wait_results: #6 keep_going /home/vries/gdb_versions/devel/src/gdb/infrun.c:8281 (gdb+0xa3bef8) > status->kind = STOPPED, sig = GDB_SIGNAL_TRAP #7 process_event_stop_test /home/vries/gdb_versions/devel/src/gdb/infrun.c:6929 (gdb+0xa36efb) > > #8 handle_signal_stop /home/vries/gdb_versions/devel/src/gdb/infrun.c:6605 (gdb+0xa35dff) > [infrun #9 handle_inferior_event /home/vries/gdb_versions/devel/src/gdb/infrun.c:5855 (gdb+0xa33688) >] handle_inferior_event: #10 fetch_inferior_event() /home/vries/gdb_versions/devel/src/gdb/infrun.c:4221 (gdb+0xa2e232) >status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > #11 inferior_event_handler(inferior_event_type) /home/vries/gdb_versions/devel/src/gdb/inf-loop.c:41 (gdb+0xa02283) > #12 handle_target_event /home/vries/gdb_versions/devel/src/gdb/linux-nat.c:4136 (gdb+0xa96fb9) > [ #13 handle_file_event /home/vries/gdb_versions/devel/src/gdbsupport/event-loop.cc:549 (gdb+0x1c2c71e) >infrun] start_step_over: #14 gdb_wait_for_event /home/vries/gdb_versions/devel/src/gdbsupport/event-loop.cc:670 (gdb+0x1c2ce4e) >enter #15 gdb_do_one_event() /home/vries/gdb_versions/devel/src/gdbsupport/event-loop.cc:210 (gdb+0x1c2b383) > > #16 start_event_loop /home/vries/gdb_versions/devel/src/gdb/main.c:411 (gdb+0xafc0bb) > [infrun] start_step_over #17 captured_command_loop /home/vries/gdb_versions/devel/src/gdb/main.c:471 (gdb+0xafc257) >: stealing global queue of threads to step, length = #18 captured_main /home/vries/gdb_versions/devel/src/gdb/main.c:1329 (gdb+0xafe3f3) >0 > #19 gdb_main(captured_main_args*) /home/vries/gdb_versions/devel/src/gdb/main.c:1344 (gdb+0xafe477) > [ #20 main /home/vries/gdb_versions/devel/src/gdb/gdb.c:32 (gdb+0x4191c5) > >infrun[1m[32m Location is global 'quit_flag' of size 4 at 0x00000325bd08 (gdb+0x325bd08) > >] [1m[0m[1m[36m Thread T1 'gdb worker'operator() (tid=9730, running) created by main thread at: >[1m[0m: step-over queue now empty #0 pthread_create <null> (libtsan.so.2+0x61bb6) > > #1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xdcdab) > [infrun #2 gdb::thread_pool::set_thread_count(unsigned long) /home/vries/gdb_versions/devel/src/gdbsupport/thread-pool.cc:168 (gdb+0x1c42260) >] start_step_over: #3 update_thread_pool_size /home/vries/gdb_versions/devel/src/gdb/maint.c:855 (gdb+0xb0a0a4) >exit > #4 _initialize_maint_cmds() /home/vries/gdb_versions/devel/src/gdb/maint.c:1476 (gdb+0xb0badd) > #5 initialize_all_files() /home/vries/gdb_versions/devel/build/gdb/init.c:770 (gdb+0x10bcf45) > [infrun] #6 gdb_init() /home/vries/gdb_versions/devel/src/gdb/top.c:2431 (gdb+0xf5e1b4) >context_switch: #7 captured_main_1 /home/vries/gdb_versions/devel/src/gdb/main.c:1022 (gdb+0xafd28d) >Switching context from 0.0.0 to 9737.9737.0 #8 captured_main /home/vries/gdb_versions/devel/src/gdb/main.c:1319 (gdb+0xafe3ee) > > #9 gdb_main(captured_main_args*) /home/vries/gdb_versions/devel/src/gdb/main.c:1344 (gdb+0xafe477) > #10 main /home/vries/gdb_versions/devel/src/gdb/gdb.c:32 (gdb+0x4191c5) > >[infrun] handle_signal_stopSUMMARY: ThreadSanitizer: data race /home/vries/gdb_versions/devel/src/gdb/extension.c:787 in set_quit_flag() >: ================== >stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9737.9737.0] at 0x400520 > [infrun] do_target_resume================== >: [1m[31mWARNING: ThreadSanitizer: data race (pid=9722) >[1m[0m[1m[34m Write of size 4 at 0x7b0c00003810 by thread T1: >[1m[0mresume_ptid= #0 mark_async_signal_handler(async_signal_handler*) /home/vries/gdb_versions/devel/src/gdb/async-event.c:177 (gdb+0x584481) >9737.9737.0, step=1, sig=GDB_SIGNAL_0 #1 handle_sigterm(int) /home/vries/gdb_versions/devel/src/gdb/event-top.c:1214 (gdb+0x8ec047) > > #2 <null> <null> (libtsan.so.2+0x3eb6c) > #3 gdb::thread_pool::thread_function() /home/vries/gdb_versions/devel/src/gdbsupport/thread-pool.cc:235 (gdb+0x1c4254b) > #4 void std::__invoke_impl<void, void (gdb::thread_pool::*)(), gdb::thread_pool*>(std::__invoke_memfun_deref, void (gdb::thread_pool::*&&)(), gdb::thread_pool*&&) /usr/include/c++/12/bits/invoke.h:74 (gdb+0x1c461c5) > #5 std::__invoke_result<void (gdb::thread_pool::*)(), gdb::thread_pool*>::type std::__invoke<void (gdb::thread_pool::*)(), gdb::thread_pool*>(void (gdb::thread_pool::*&&)(), gdb::thread_pool*&&) /usr/include/c++/12/bits/invoke.h:96 (gdb+0x1c460a2) > [infrun] #6 void std::thread::_Invoker<std::tuple<void (gdb::thread_pool::*)(), gdb::thread_pool*> >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/12/bits/std_thread.h:252 (gdb+0x1c45fb2) >prepare_to_wait: prepare_to_wait #7 std::thread::_Invoker<std::tuple<void (gdb::thread_pool::*)(), gdb::thread_pool*> >::operator()() /usr/include/c++/12/bits/std_thread.h:259 (gdb+0x1c45f42) > > #8 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (gdb::thread_pool::*)(), gdb::thread_pool*> > >::_M_run() /usr/include/c++/12/bits/std_thread.h:210 (gdb+0x1c45efc) > #9 <null> <null> (libstdc++.so.6+0xdcaa2) > >[[1m[34m Previous read of size 4 at 0x7b0c00003810 by main thread: >[1m[0minfrun] reset: #0 invoke_async_signal_handlers() /home/vries/gdb_versions/devel/src/gdb/async-event.c:221 (gdb+0x5845f0) >reason=handling event #1 gdb_do_one_event() /home/vries/gdb_versions/devel/src/gdbsupport/event-loop.cc:192 (gdb+0x1c2b32b) > > #2 start_event_loop /home/vries/gdb_versions/devel/src/gdb/main.c:411 (gdb+0xafc0bb) > [ #3 captured_command_loop /home/vries/gdb_versions/devel/src/gdb/main.c:471 (gdb+0xafc257) >infrun] maybe_set_commit_resumed_all_targets: #4 captured_main /home/vries/gdb_versions/devel/src/gdb/main.c:1329 (gdb+0xafe3f3) >enabling commit-resumed for target native #5 gdb_main(captured_main_args*) /home/vries/gdb_versions/devel/src/gdb/main.c:1344 (gdb+0xafe477) > > #6 main /home/vries/gdb_versions/devel/src/gdb/gdb.c:32 (gdb+0x4191c5) > >[1m[32m Location is heap block of size 40 at 0x7b0c00003810 allocated by main thread: >[1m[0m [ #0 malloc <null> (libtsan.so.2+0x42348) >infrun] maybe_call_commit_resumed_all_targets: #1 xmalloc /home/vries/gdb_versions/devel/src/gdb/alloc.c:57 (gdb+0x4d03a2) >calling commit_resumed for target native #2 xnew<async_signal_handler> /home/vries/gdb_versions/devel/src/gdb/../gdbsupport/poison.h:110 (gdb+0x584f4c) > > #3 create_async_signal_handler(void (*)(void*), void*, char const*) /home/vries/gdb_versions/devel/src/gdb/async-event.c:141 (gdb+0x584182) >[ #4 gdb_init_signals() /home/vries/gdb_versions/devel/src/gdb/event-top.c:1059 (gdb+0x8ebab6) >infrun] fetch_inferior_event: #5 gdb_init() /home/vries/gdb_versions/devel/src/gdb/top.c:2449 (gdb+0xf5e1d7) >exit > #6 captured_main_1 /home/vries/gdb_versions/devel/src/gdb/main.c:1022 (gdb+0xafd28d) > #7 captured_main /home/vries/gdb_versions/devel/src/gdb/main.c:1319 (gdb+0xafe3ee) >[infrun] fetch_inferior_event: #8 gdb_main(captured_main_args*) /home/vries/gdb_versions/devel/src/gdb/main.c:1344 (gdb+0xafe477) >enter #9 main /home/vries/gdb_versions/devel/src/gdb/gdb.c:32 (gdb+0x4191c5) > > >[1m[36m Thread T1 'gdb worker' (tid=9730, running) created by main thread at: >[1m[0m #0 pthread_create <null> (libtsan.so.2+0x61bb6) > [infrun] scoped_disable_commit_resumed #1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xdcdab) >: reason= #2 gdb::thread_pool::set_thread_count(unsigned long) /home/vries/gdb_versions/devel/src/gdbsupport/thread-pool.cc:168 (gdb+0x1c42260) >handling event > #3 update_thread_pool_size /home/vries/gdb_versions/devel/src/gdb/maint.c:855 (gdb+0xb0a0a4) > #4 _initialize_maint_cmds() /home/vries/gdb_versions/devel/src/gdb/maint.c:1476 (gdb+0xb0badd) > [infrun] random_pending_event_thread #5 initialize_all_files() /home/vries/gdb_versions/devel/build/gdb/init.c:770 (gdb+0x10bcf45) >: None found. #6 gdb_init() /home/vries/gdb_versions/devel/src/gdb/top.c:2431 (gdb+0xf5e1b4) > > #7 captured_main_1 /home/vries/gdb_versions/devel/src/gdb/main.c:1022 (gdb+0xafd28d) > #8 captured_main /home/vries/gdb_versions/devel/src/gdb/main.c:1319 (gdb+0xafe3ee) > #9 gdb_main(captured_main_args*) /home/vries/gdb_versions/devel/src/gdb/main.c:1344 (gdb+0xafe477) > #10 main /home/vries/gdb_versions/devel/src/gdb/gdb.c:32 (gdb+0x4191c5) > > [infrunSUMMARY: ThreadSanitizer: data race /home/vries/gdb_versions/devel/src/gdb/async-event.c:177 in mark_async_signal_handler(async_signal_handler*) >] ================== >print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9737.9737.0 [process 9737], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_INT > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_INT > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9737.9737.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] handle_signal_stop: random signal (GDB_SIGNAL_INT) > [infrun] stop_waiting: stop_waiting > [infrun] stop_all_threads: start: reason=presenting stop to user in all-stop, inf=-1 > [infrun] infrun_debug_show_threads: non-exited threads: > [infrun] infrun_debug_show_threads: thread 9737.9737.0, executing = 0, resumed = 0, state = RUNNING > [infrun] stop_all_threads: pass=0, iterations=0 > [infrun] stop_all_threads: 9737.9737.0 not executing > [infrun] stop_all_threads: pass=1, iterations=1 > [infrun] stop_all_threads: 9737.9737.0 not executing > [infrun] stop_all_threads: done > [infrun] stop_all_threads: end: reason=presenting stop to user in all-stop, inf=-1 >ThreadSanitizer: reported 4 warnings >PASS: gdb.base/gdb-sigterm.exp: pass=4: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=4: expect eof: stepped 72 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=5: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=5: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=5: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 9765.9765.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 9765.9765.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9765.9765.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9765.9765.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9765.9765.0 [process 9765], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9765.9765.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=5: run a bit >Executing on host: kill -TERM 9750 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 9750 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9765.9765.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9765.9765.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9765.9765.0 [process 9765], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9765.9765.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9765.9765.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9765.9765.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9765.9765.0 [process 9765], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9765.9765.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9765.9765.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9765.9765.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9765.9765.0 [process 9765], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9765.9765.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9765.9765.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9765.9765.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9765.9765.0 [process 9765], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9765.9765.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9765.9765.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9765.9765.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9765.9765.0 [process 9765], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9765.9765.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9765.9765.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9765.9765.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=5: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=5: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=6: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=6: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=6: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 9793.9793.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 9793.9793.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9793.9793.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9793.9793.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9793.9793.0 [process 9793], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9793.9793.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=6: run a bit >Executing on host: kill -TERM 9778 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 9778 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9793.9793.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9793.9793.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9793.9793.0 [process 9793], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9793.9793.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9793.9793.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9793.9793.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9793.9793.0 [process 9793], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9793.9793.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9793.9793.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9793.9793.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9793.9793.0 [process 9793], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9793.9793.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9793.9793.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9793.9793.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9793.9793.0 [process 9793], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9793.9793.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9793.9793.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9793.9793.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9793.9793.0 [process 9793], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9793.9793.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9793.9793.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9793.9793.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=6: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=6: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=7: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=7: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=7: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 9821.9821.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 9821.9821.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9821.9821.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9821.9821.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9821.9821.0 [process 9821], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9821.9821.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=7: run a bit >Executing on host: kill -TERM 9806 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 9806 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9821.9821.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9821.9821.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9821.9821.0 [process 9821], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9821.9821.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9821.9821.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9821.9821.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9821.9821.0 [process 9821], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9821.9821.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9821.9821.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9821.9821.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9821.9821.0 [process 9821], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9821.9821.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9821.9821.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9821.9821.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9821.9821.0 [process 9821], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9821.9821.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9821.9821.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9821.9821.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9821.9821.0 [process 9821], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9821.9821.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9821.9821.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9821.9821.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=7: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=7: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=8: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=8: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=8: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 9849.9849.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 9849.9849.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9849.9849.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9849.9849.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9849.9849.0 [process 9849], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9849.9849.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=8: run a bit >Executing on host: kill -TERM 9834 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 9834 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9849.9849.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9849.9849.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9849.9849.0 [process 9849], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9849.9849.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9849.9849.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9849.9849.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9849.9849.0 [process 9849], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9849.9849.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9849.9849.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9849.9849.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9849.9849.0 [process 9849], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9849.9849.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9849.9849.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9849.9849.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9849.9849.0 [process 9849], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9849.9849.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9849.9849.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9849.9849.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9849.9849.0 [process 9849], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9849.9849.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9849.9849.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9849.9849.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=8: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=8: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=9: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=9: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=9: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 9877.9877.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 9877.9877.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9877.9877.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9877.9877.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9877.9877.0 [process 9877], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9877.9877.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=9: run a bit >Executing on host: kill -TERM 9862 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 9862 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9877.9877.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9877.9877.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9877.9877.0 [process 9877], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9877.9877.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9877.9877.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9877.9877.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9877.9877.0 [process 9877], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9877.9877.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9877.9877.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9877.9877.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9877.9877.0 [process 9877], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9877.9877.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9877.9877.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9877.9877.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9877.9877.0 [process 9877], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9877.9877.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9877.9877.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9877.9877.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9877.9877.0 [process 9877], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9877.9877.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9877.9877.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9877.9877.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=9: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=9: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=10: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=10: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=10: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 9907.9907.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 9907.9907.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9907.9907.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9907.9907.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9907.9907.0 [process 9907], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9907.9907.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520PASS: gdb.base/gdb-sigterm.exp: pass=10: run a bit >Executing on host: kill -TERM 9892 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 9892 >-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9907.9907.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9907.9907.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9907.9907.0 [process 9907], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9907.9907.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9907.9907.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9907.9907.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9907.9907.0 [process 9907], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9907.9907.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9907.9907.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9907.9907.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9907.9907.0 [process 9907], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9907.9907.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9907.9907.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9907.9907.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9907.9907.0 [process 9907], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9907.9907.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9907.9907.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9907.9907.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9907.9907.0 [process 9907], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9907.9907.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9907.9907.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9907.9907.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=10: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=10: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=11: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=11: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=11: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 9935.9935.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 9935.9935.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9935.9935.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9935.9935.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9935.9935.0 [process 9935], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9935.9935.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=11: run a bit >Executing on host: kill -TERM 9920 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 9920 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9935.9935.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9935.9935.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9935.9935.0 [process 9935], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9935.9935.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9935.9935.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9935.9935.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9935.9935.0 [process 9935], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9935.9935.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9935.9935.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9935.9935.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9935.9935.0 [process 9935], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9935.9935.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9935.9935.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9935.9935.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9935.9935.0 [process 9935], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9935.9935.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9935.9935.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9935.9935.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9935.9935.0 [process 9935], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9935.9935.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9935.9935.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9935.9935.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=11: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=11: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=12: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=12: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=12: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 9963.9963.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 9963.9963.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9963.9963.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9963.9963.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9963.9963.0 [process 9963], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9963.9963.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=12: run a bit >Executing on host: kill -TERM 9948 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 9948 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9963.9963.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9963.9963.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9963.9963.0 [process 9963], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9963.9963.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9963.9963.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9963.9963.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9963.9963.0 [process 9963], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9963.9963.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9963.9963.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9963.9963.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9963.9963.0 [process 9963], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9963.9963.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9963.9963.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9963.9963.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9963.9963.0 [process 9963], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9963.9963.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9963.9963.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9963.9963.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9963.9963.0 [process 9963], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9963.9963.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9963.9963.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9963.9963.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9963.9963.0 [process 9963], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9963.9963.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9963.9963.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9963.9963.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=12: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=12: expect eof: stepped 6 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=13: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=13: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=13: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 9991.9991.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 9991.9991.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9991.9991.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9991.9991.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9991.9991.0 [process 9991], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9991.9991.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=13: run a bit >Executing on host: kill -TERM 9976 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 9976 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9991.9991.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9991.9991.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9991.9991.0 [process 9991], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9991.9991.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9991.9991.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9991.9991.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9991.9991.0 [process 9991], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9991.9991.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9991.9991.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9991.9991.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9991.9991.0 [process 9991], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9991.9991.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9991.9991.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9991.9991.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9991.9991.0 [process 9991], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9991.9991.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9991.9991.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9991.9991.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 9991.9991.0 [process 9991], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 9991.9991.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [9991.9991.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=9991.9991.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=13: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=13: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=14: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=14: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=14: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10019.10019.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10019.10019.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10019.10019.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10019.10019.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10019.10019.0 [process 10019], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10019.10019.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520PASS: gdb.base/gdb-sigterm.exp: pass=14: run a bit >Executing on host: kill -TERM 10004 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10004 >-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10019.10019.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10019.10019.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10019.10019.0 [process 10019], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10019.10019.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10019.10019.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10019.10019.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10019.10019.0 [process 10019], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10019.10019.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10019.10019.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10019.10019.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10019.10019.0 [process 10019], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10019.10019.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10019.10019.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10019.10019.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10019.10019.0 [process 10019], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10019.10019.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10019.10019.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10019.10019.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10019.10019.0 [process 10019], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10019.10019.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10019.10019.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10019.10019.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=14: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=14: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=15: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=15: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=15: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10047.10047.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10047.10047.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10047.10047.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10047.10047.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10047.10047.0 [process 10047], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10047.10047.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=15: run a bit >Executing on host: kill -TERM 10032 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10032 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10047.10047.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10047.10047.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10047.10047.0 [process 10047], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10047.10047.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10047.10047.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10047.10047.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10047.10047.0 [process 10047], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10047.10047.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10047.10047.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10047.10047.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10047.10047.0 [process 10047], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10047.10047.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10047.10047.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10047.10047.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10047.10047.0 [process 10047], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10047.10047.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10047.10047.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10047.10047.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10047.10047.0 [process 10047], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10047.10047.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10047.10047.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10047.10047.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10047.10047.0 [process 10047], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10047.10047.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10047.10047.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10047.10047.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=15: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=15: expect eof: stepped 6 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=16: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=16: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=16: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10075.10075.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10075.10075.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10075.10075.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10075.10075.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10075.10075.0 [process 10075], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10075.10075.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=16: run a bit >Executing on host: kill -TERM 10060 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10060 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10075.10075.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10075.10075.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10075.10075.0 [process 10075], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10075.10075.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10075.10075.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10075.10075.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10075.10075.0 [process 10075], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10075.10075.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10075.10075.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10075.10075.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10075.10075.0 [process 10075], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10075.10075.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10075.10075.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10075.10075.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10075.10075.0 [process 10075], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10075.10075.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10075.10075.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10075.10075.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10075.10075.0 [process 10075], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10075.10075.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10075.10075.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10075.10075.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >Exception ignored in: <gdb._GdbOutputFile object at 0x7fd5218ccf98> >Traceback (most recent call last): > File "/home/vries/gdb_versions/devel/build/gdb/data-directory/python/gdb/__init__.py", line 47, in flush > def flush(self): >KeyboardInterrupt >PASS: gdb.base/gdb-sigterm.exp: pass=16: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=16: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=17: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=17: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=17: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10103.10103.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10103.10103.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10103.10103.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10103.10103.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10103.10103.0 [process 10103], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10103.10103.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520PASS: gdb.base/gdb-sigterm.exp: pass=17: run a bit >Executing on host: kill -TERM 10088 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10088 >-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10103.10103.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10103.10103.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10103.10103.0 [process 10103], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10103.10103.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10103.10103.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10103.10103.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10103.10103.0 [process 10103], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10103.10103.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10103.10103.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10103.10103.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10103.10103.0 [process 10103], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10103.10103.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10103.10103.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10103.10103.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10103.10103.0 [process 10103], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10103.10103.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10103.10103.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10103.10103.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10103.10103.0 [process 10103], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10103.10103.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10103.10103.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10103.10103.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] : calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >Exception ignored in: <gdb._GdbOutputFile object at 0x7f2846b8cfd0> >Traceback (most recent call last): > File "/home/vries/gdb_versions/devel/build/gdb/data-directory/python/gdb/__init__.py", line 47, in flush > def flush(self): >KeyboardInterrupt >PASS: gdb.base/gdb-sigterm.exp: pass=17: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=17: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=18: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=18: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=18: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10138.10138.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10138.10138.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10138.10138.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10138.10138.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10138.10138.0 [process 10138], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10138.10138.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=18: run a bit >Executing on host: kill -TERM 10123 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10123 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10138.10138.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10138.10138.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10138.10138.0 [process 10138], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10138.10138.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10138.10138.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10138.10138.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10138.10138.0 [process 10138], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10138.10138.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10138.10138.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10138.10138.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10138.10138.0 [process 10138], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10138.10138.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10138.10138.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10138.10138.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10138.10138.0 [process 10138], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10138.10138.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10138.10138.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10138.10138.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10138.10138.0 [process 10138], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10138.10138.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10138.10138.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10138.10138.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=18: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=18: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=19: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=19: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=19: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10166.10166.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10166.10166.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10166.10166.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10166.10166.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10166.10166.0 [process 10166], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10166.10166.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=19: run a bit >Executing on host: kill -TERM 10151 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10151 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10166.10166.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10166.10166.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10166.10166.0 [process 10166], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10166.10166.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10166.10166.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10166.10166.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10166.10166.0 [process 10166], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10166.10166.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10166.10166.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10166.10166.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10166.10166.0 [process 10166], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10166.10166.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10166.10166.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10166.10166.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10166.10166.0 [process 10166], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10166.10166.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10166.10166.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10166.10166.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10166.10166.0 [process 10166], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10166.10166.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10166.10166.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10166.10166.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=19: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=19: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=20: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=20: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=20: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10194.10194.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10194.10194.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10194.10194.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10194.10194.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10194.10194.0 [process 10194], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10194.10194.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=20: run a bit >Executing on host: kill -TERM 10179 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10179 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10194.10194.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10194.10194.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10194.10194.0 [process 10194], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10194.10194.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10194.10194.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10194.10194.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10194.10194.0 [process 10194], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10194.10194.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10194.10194.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10194.10194.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10194.10194.0 [process 10194], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10194.10194.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10194.10194.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10194.10194.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10194.10194.0 [process 10194], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10194.10194.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10194.10194.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10194.10194.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10194.10194.0 [process 10194], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10194.10194.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10194.10194.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10194.10194.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=20: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=20: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=21: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=21: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=21: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10223.10223.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10223.10223.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10223.10223.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10223.10223.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10223.10223.0 [process 10223], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10223.10223.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=21: run a bit >Executing on host: kill -TERM 10208 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10208 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10223.10223.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10223.10223.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10223.10223.0 [process 10223], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10223.10223.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10223.10223.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10223.10223.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10223.10223.0 [process 10223], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10223.10223.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10223.10223.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10223.10223.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10223.10223.0 [process 10223], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10223.10223.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10223.10223.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10223.10223.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10223.10223.0 [process 10223], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10223.10223.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10223.10223.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10223.10223.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10223.10223.0 [process 10223], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10223.10223.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10223.10223.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10223.10223.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=21: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=21: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=22: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=22: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=22: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10251.10251.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10251.10251.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10251.10251.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10251.10251.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10251.10251.0 [process 10251], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10251.10251.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [PASS: gdb.base/gdb-sigterm.exp: pass=22: run a bit >Executing on host: kill -TERM 10236 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10236 >0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10251.10251.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10251.10251.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10251.10251.0 [process 10251], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10251.10251.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10251.10251.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10251.10251.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10251.10251.0 [process 10251], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10251.10251.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10251.10251.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10251.10251.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10251.10251.0 [process 10251], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10251.10251.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10251.10251.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10251.10251.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10251.10251.0 [process 10251], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10251.10251.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10251.10251.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10251.10251.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10251.10251.0 [process 10251], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10251.10251.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10251.10251.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10251.10251.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=22: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=22: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=23: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=23: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=23: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10279.10279.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10279.10279.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10279.10279.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10279.10279.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10279.10279.0 [process 10279], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10279.10279.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=23: run a bit >Executing on host: kill -TERM 10264 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10264 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10279.10279.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10279.10279.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10279.10279.0 [process 10279], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10279.10279.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10279.10279.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10279.10279.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10279.10279.0 [process 10279], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10279.10279.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10279.10279.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10279.10279.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10279.10279.0 [process 10279], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10279.10279.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10279.10279.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10279.10279.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10279.10279.0 [process 10279], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10279.10279.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10279.10279.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10279.10279.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10279.10279.0 [process 10279], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10279.10279.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10279.10279.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10279.10279.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=23: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=23: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=24: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=24: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=24: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10307.10307.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10307.10307.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10307.10307.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10307.10307.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10307.10307.0 [process 10307], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10307.10307.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=24: run a bit >Executing on host: kill -TERM 10292 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10292 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10307.10307.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10307.10307.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10307.10307.0 [process 10307], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10307.10307.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10307.10307.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10307.10307.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10307.10307.0 [process 10307], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10307.10307.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10307.10307.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10307.10307.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10307.10307.0 [process 10307], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10307.10307.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10307.10307.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10307.10307.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10307.10307.0 [process 10307], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10307.10307.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10307.10307.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10307.10307.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10307.10307.0 [process 10307], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10307.10307.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10307.10307.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10307.10307.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=24: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=24: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=25: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=25: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=25: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10335.10335.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10335.10335.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10335.10335.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10335.10335.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10335.10335.0 [process 10335], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10335.10335.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=25: run a bit >Executing on host: kill -TERM 10320 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10320 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10335.10335.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10335.10335.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10335.10335.0 [process 10335], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10335.10335.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10335.10335.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10335.10335.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10335.10335.0 [process 10335], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10335.10335.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10335.10335.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10335.10335.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10335.10335.0 [process 10335], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10335.10335.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10335.10335.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10335.10335.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10335.10335.0 [process 10335], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10335.10335.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10335.10335.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10335.10335.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10335.10335.0 [process 10335], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10335.10335.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10335.10335.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10335.10335.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=25: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=25: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=26: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=26: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=26: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10363.10363.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10363.10363.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10363.10363.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10363.10363.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10363.10363.0 [process 10363], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10363.10363.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=26: run a bit >Executing on host: kill -TERM 10348 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10348 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10363.10363.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10363.10363.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10363.10363.0 [process 10363], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10363.10363.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10363.10363.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10363.10363.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10363.10363.0 [process 10363], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10363.10363.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10363.10363.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10363.10363.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10363.10363.0 [process 10363], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10363.10363.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10363.10363.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10363.10363.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10363.10363.0 [process 10363], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10363.10363.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10363.10363.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10363.10363.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10363.10363.0 [process 10363], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10363.10363.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10363.10363.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10363.10363.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=26: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=26: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=27: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=27: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=27: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10391.10391.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10391.10391.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10391.10391.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10391.10391.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10391.10391.0 [process 10391], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10391.10391.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=27: run a bit >Executing on host: kill -TERM 10376 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10376 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10391.10391.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10391.10391.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10391.10391.0 [process 10391], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10391.10391.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10391.10391.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10391.10391.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10391.10391.0 [process 10391], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10391.10391.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10391.10391.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10391.10391.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10391.10391.0 [process 10391], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10391.10391.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10391.10391.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10391.10391.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10391.10391.0 [process 10391], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10391.10391.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10391.10391.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10391.10391.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10391.10391.0 [process 10391], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10391.10391.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10391.10391.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10391.10391.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=27: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=27: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=28: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=28: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=28: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10419.10419.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10419.10419.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10419.10419.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10419.10419.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10419.10419.0 [process 10419], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10419.10419.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=28: run a bit >Executing on host: kill -TERM 10404 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10404 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10419.10419.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10419.10419.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10419.10419.0 [process 10419], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10419.10419.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10419.10419.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10419.10419.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10419.10419.0 [process 10419], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10419.10419.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10419.10419.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10419.10419.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10419.10419.0 [process 10419], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10419.10419.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10419.10419.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10419.10419.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10419.10419.0 [process 10419], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10419.10419.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10419.10419.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10419.10419.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10419.10419.0 [process 10419], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10419.10419.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10419.10419.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10419.10419.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=28: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=28: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=29: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=29: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=29: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10447.10447.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10447.10447.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10447.10447.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10447.10447.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10447.10447.0 [process 10447], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10447.10447.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=29: run a bit >Executing on host: kill -TERM 10432 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10432 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10447.10447.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10447.10447.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10447.10447.0 [process 10447], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10447.10447.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10447.10447.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10447.10447.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10447.10447.0 [process 10447], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10447.10447.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10447.10447.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10447.10447.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10447.10447.0 [process 10447], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10447.10447.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10447.10447.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10447.10447.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10447.10447.0 [process 10447], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10447.10447.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10447.10447.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10447.10447.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10447.10447.0 [process 10447], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10447.10447.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10447.10447.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10447.10447.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=29: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=29: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=30: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=30: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=30: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10475.10475.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10475.10475.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10475.10475.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10475.10475.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10475.10475.0 [process 10475], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10475.10475.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [PASS: gdb.base/gdb-sigterm.exp: pass=30: run a bit >Executing on host: kill -TERM 10460 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10460 >0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10475.10475.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10475.10475.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10475.10475.0 [process 10475], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10475.10475.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10475.10475.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10475.10475.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10475.10475.0 [process 10475], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10475.10475.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10475.10475.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10475.10475.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10475.10475.0 [process 10475], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10475.10475.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10475.10475.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10475.10475.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10475.10475.0 [process 10475], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10475.10475.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10475.10475.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10475.10475.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10475.10475.0 [process 10475], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10475.10475.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10475.10475.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10475.10475.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=30: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=30: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=31: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=31: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=31: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10503.10503.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10503.10503.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10503.10503.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10503.10503.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10503.10503.0 [process 10503], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10503.10503.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=31: run a bit >Executing on host: kill -TERM 10488 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10488 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10503.10503.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10503.10503.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10503.10503.0 [process 10503], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10503.10503.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10503.10503.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10503.10503.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10503.10503.0 [process 10503], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10503.10503.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10503.10503.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10503.10503.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10503.10503.0 [process 10503], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10503.10503.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10503.10503.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10503.10503.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10503.10503.0 [process 10503], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10503.10503.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10503.10503.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10503.10503.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10503.10503.0 [process 10503], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10503.10503.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10503.10503.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10503.10503.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=31: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=31: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=32: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=32: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=32: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10531.10531.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10531.10531.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10531.10531.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10531.10531.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10531.10531.0 [process 10531], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10531.10531.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=32: run a bit >Executing on host: kill -TERM 10516 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10516 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10531.10531.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10531.10531.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10531.10531.0 [process 10531], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10531.10531.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10531.10531.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10531.10531.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10531.10531.0 [process 10531], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10531.10531.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10531.10531.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10531.10531.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10531.10531.0 [process 10531], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10531.10531.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10531.10531.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10531.10531.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10531.10531.0 [process 10531], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10531.10531.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10531.10531.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10531.10531.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10531.10531.0 [process 10531], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10531.10531.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10531.10531.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10531.10531.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=32: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=32: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=33: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=33: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=33: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10559.10559.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10559.10559.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10559.10559.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10559.10559.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10559.10559.0 [process 10559], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10559.10559.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-PASS: gdb.base/gdb-sigterm.exp: pass=33: run a bit >Executing on host: kill -TERM 10544 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10544 >0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10559.10559.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10559.10559.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10559.10559.0 [process 10559], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10559.10559.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10559.10559.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10559.10559.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10559.10559.0 [process 10559], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10559.10559.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10559.10559.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10559.10559.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10559.10559.0 [process 10559], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10559.10559.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10559.10559.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10559.10559.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10559.10559.0 [process 10559], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10559.10559.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10559.10559.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10559.10559.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10559.10559.0 [process 10559], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10559.10559.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10559.10559.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10559.10559.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=33: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=33: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=34: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=34: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=34: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10587.10587.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10587.10587.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10587.10587.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10587.10587.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10587.10587.0 [process 10587], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10587.10587.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=34: run a bit >Executing on host: kill -TERM 10572 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10572 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10587.10587.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10587.10587.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10587.10587.0 [process 10587], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10587.10587.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10587.10587.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10587.10587.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10587.10587.0 [process 10587], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10587.10587.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10587.10587.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10587.10587.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10587.10587.0 [process 10587], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10587.10587.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10587.10587.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10587.10587.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10587.10587.0 [process 10587], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10587.10587.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10587.10587.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10587.10587.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10587.10587.0 [process 10587], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10587.10587.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10587.10587.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10587.10587.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >Exception ignored in: <gdb._GdbOutputFile object at 0x7f6cf1fccf98> >Traceback (most recent call last): > File "/home/vries/gdb_versions/devel/build/gdb/data-directory/python/gdb/__init__.py", line 47, in flush > def flush(self): >KeyboardInterrupt >PASS: gdb.base/gdb-sigterm.exp: pass=34: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=34: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=35: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=35: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=35: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10615.10615.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10615.10615.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10615.10615.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10615.10615.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10615.10615.0 [process 10615], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10615.10615.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=35: run a bit >Executing on host: kill -TERM 10600 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10600 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10615.10615.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10615.10615.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10615.10615.0 [process 10615], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10615.10615.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10615.10615.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10615.10615.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10615.10615.0 [process 10615], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10615.10615.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10615.10615.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10615.10615.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10615.10615.0 [process 10615], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10615.10615.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10615.10615.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10615.10615.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10615.10615.0 [process 10615], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10615.10615.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10615.10615.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10615.10615.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10615.10615.0 [process 10615], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10615.10615.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10615.10615.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10615.10615.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=35: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=35: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=36: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=36: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=36: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10646.10646.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10646.10646.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10646.10646.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10646.10646.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10646.10646.0 [process 10646], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10646.10646.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=36: run a bit >Executing on host: kill -TERM 10628 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10628 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10646.10646.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10646.10646.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10646.10646.0 [process 10646], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10646.10646.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10646.10646.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10646.10646.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10646.10646.0 [process 10646], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10646.10646.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10646.10646.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10646.10646.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10646.10646.0 [process 10646], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10646.10646.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10646.10646.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10646.10646.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10646.10646.0 [process 10646], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10646.10646.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10646.10646.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10646.10646.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0process -1], status) = > [infrun] print_target_wait_results: 10646.10646.0 [process 10646], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10646.10646.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10646.10646.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10646.10646.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=36: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=36: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=37: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=37: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=37: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10675.10675.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10675.10675.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10675.10675.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10675.10675.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10675.10675.0 [process 10675], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10675.10675.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=37: run a bit >Executing on host: kill -TERM 10659 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10659 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10675.10675.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10675.10675.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10675.10675.0 [process 10675], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10675.10675.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10675.10675.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10675.10675.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10675.10675.0 [process 10675], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10675.10675.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10675.10675.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10675.10675.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10675.10675.0 [process 10675], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10675.10675.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10675.10675.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10675.10675.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10675.10675.0 [process 10675], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10675.10675.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10675.10675.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10675.10675.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10675.10675.0 [process 10675], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10675.10675.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10675.10675.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10675.10675.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=37: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=37: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=38: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=38: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=38: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10703.10703.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10703.10703.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10703.10703.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10703.10703.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10703.10703.0 [process 10703], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10703.10703.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=38: run a bit >Executing on host: kill -TERM 10688 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10688 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10703.10703.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10703.10703.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10703.10703.0 [process 10703], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10703.10703.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10703.10703.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10703.10703.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10703.10703.0 [process 10703], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10703.10703.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10703.10703.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10703.10703.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10703.10703.0 [process 10703], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10703.10703.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10703.10703.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10703.10703.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10703.10703.0 [process 10703], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10703.10703.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10703.10703.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10703.10703.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10703.10703.0 [process 10703], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10703.10703.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10703.10703.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10703.10703.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=38: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=38: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=39: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=39: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=39: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10731.10731.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10731.10731.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10731.10731.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10731.10731.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10731.10731.0 [process 10731], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10731.10731.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=39: run a bit >Executing on host: kill -TERM 10716 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10716 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10731.10731.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10731.10731.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10731.10731.0 [process 10731], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10731.10731.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10731.10731.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10731.10731.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10731.10731.0 [process 10731], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10731.10731.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10731.10731.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10731.10731.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10731.10731.0 [process 10731], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10731.10731.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10731.10731.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10731.10731.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10731.10731.0 [process 10731], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10731.10731.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10731.10731.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10731.10731.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10731.10731.0 [process 10731], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10731.10731.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10731.10731.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10731.10731.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >Exception ignored in: <gdb._GdbOutputFile object at 0x7fd6a53ccf98> >Traceback (most recent call last): > File "/home/vries/gdb_versions/devel/build/gdb/data-directory/python/gdb/__init__.py", line 47, in flush > def flush(self): >KeyboardInterrupt >PASS: gdb.base/gdb-sigterm.exp: pass=39: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=39: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=40: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=40: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=40: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10759.10759.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10759.10759.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10759.10759.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10759.10759.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10759.10759.0 [process 10759], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10759.10759.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=40: run a bit >Executing on host: kill -TERM 10744 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10744 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10759.10759.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10759.10759.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10759.10759.0 [process 10759], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10759.10759.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10759.10759.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10759.10759.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10759.10759.0 [process 10759], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10759.10759.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10759.10759.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10759.10759.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10759.10759.0 [process 10759], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10759.10759.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10759.10759.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10759.10759.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10759.10759.0 [process 10759], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10759.10759.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10759.10759.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10759.10759.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10759.10759.0 [process 10759], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10759.10759.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10759.10759.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10759.10759.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=40: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=40: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=41: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=41: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=41: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10789.10789.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10789.10789.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10789.10789.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10789.10789.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10789.10789.0 [process 10789], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10789.10789.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [PASS: gdb.base/gdb-sigterm.exp: pass=41: run a bit >Executing on host: kill -TERM 10774 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10774 >0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10789.10789.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10789.10789.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10789.10789.0 [process 10789], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10789.10789.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10789.10789.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10789.10789.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10789.10789.0 [process 10789], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10789.10789.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10789.10789.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10789.10789.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10789.10789.0 [process 10789], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10789.10789.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10789.10789.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10789.10789.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10789.10789.0 [process 10789], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10789.10789.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10789.10789.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10789.10789.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10789.10789.0 [process 10789], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10789.10789.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10789.10789.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10789.10789.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=41: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=41: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=42: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=42: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=42: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10818.10818.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10818.10818.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10818.10818.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10818.10818.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10818.10818.0 [process 10818], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10818.10818.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-PASS: gdb.base/gdb-sigterm.exp: pass=42: run a bit >Executing on host: kill -TERM 10803 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10803 >0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10818.10818.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10818.10818.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10818.10818.0 [process 10818], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10818.10818.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10818.10818.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10818.10818.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10818.10818.0 [process 10818], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10818.10818.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10818.10818.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10818.10818.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10818.10818.0 [process 10818], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10818.10818.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10818.10818.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10818.10818.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10818.10818.0 [process 10818], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10818.10818.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10818.10818.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10818.10818.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10818.10818.0 [process 10818], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10818.10818.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10818.10818.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10818.10818.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=42: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=42: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=43: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=43: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=43: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10846.10846.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10846.10846.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10846.10846.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10846.10846.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10846.10846.0 [process 10846], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10846.10846.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=43: run a bit >Executing on host: kill -TERM 10831 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10831 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10846.10846.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10846.10846.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10846.10846.0 [process 10846], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10846.10846.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10846.10846.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10846.10846.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10846.10846.0 [process 10846], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10846.10846.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10846.10846.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10846.10846.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10846.10846.0 [process 10846], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10846.10846.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10846.10846.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10846.10846.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10846.10846.0 [process 10846], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10846.10846.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10846.10846.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10846.10846.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10846.10846.0 [process 10846], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10846.10846.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10846.10846.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10846.10846.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=43: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=43: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=44: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=44: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=44: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10874.10874.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10874.10874.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10874.10874.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10874.10874.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10874.10874.0 [process 10874], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10874.10874.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=44: run a bit >Executing on host: kill -TERM 10859 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10859 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10874.10874.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10874.10874.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10874.10874.0 [process 10874], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10874.10874.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10874.10874.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10874.10874.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10874.10874.0 [process 10874], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10874.10874.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10874.10874.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10874.10874.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10874.10874.0 [process 10874], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10874.10874.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10874.10874.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10874.10874.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10874.10874.0 [process 10874], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10874.10874.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10874.10874.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10874.10874.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10874.10874.0 [process 10874], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10874.10874.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10874.10874.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10874.10874.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=44: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=44: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=45: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=45: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=45: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10902.10902.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10902.10902.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10902.10902.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10902.10902.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10902.10902.0 [process 10902], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10902.10902.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-PASS: gdb.base/gdb-sigterm.exp: pass=45: run a bit >Executing on host: kill -TERM 10887 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10887 >0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10902.10902.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10902.10902.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10902.10902.0 [process 10902], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10902.10902.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10902.10902.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10902.10902.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10902.10902.0 [process 10902], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10902.10902.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10902.10902.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10902.10902.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10902.10902.0 [process 10902], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10902.10902.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10902.10902.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10902.10902.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10902.10902.0 [process 10902], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10902.10902.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10902.10902.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10902.10902.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10902.10902.0 [process 10902], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10902.10902.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10902.10902.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10902.10902.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=45: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=45: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=46: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=46: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=46: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10930.10930.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10930.10930.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10930.10930.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10930.10930.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10930.10930.0 [process 10930], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10930.10930.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [PASS: gdb.base/gdb-sigterm.exp: pass=46: run a bit >Executing on host: kill -TERM 10915 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10915 >0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10930.10930.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10930.10930.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10930.10930.0 [process 10930], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10930.10930.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10930.10930.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10930.10930.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10930.10930.0 [process 10930], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10930.10930.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10930.10930.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10930.10930.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10930.10930.0 [process 10930], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10930.10930.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10930.10930.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10930.10930.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10930.10930.0 [process 10930], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10930.10930.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10930.10930.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10930.10930.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10930.10930.0 [process 10930], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10930.10930.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10930.10930.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10930.10930.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=46: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=46: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=47: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=47: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=47: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10958.10958.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10958.10958.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10958.10958.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10958.10958.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10958.10958.0 [process 10958], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10958.10958.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522]PASS: gdb.base/gdb-sigterm.exp: pass=47: run a bit >Executing on host: kill -TERM 10943 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10943 > > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10958.10958.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10958.10958.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10958.10958.0 [process 10958], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10958.10958.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10958.10958.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10958.10958.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10958.10958.0 [process 10958], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10958.10958.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10958.10958.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10958.10958.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10958.10958.0 [process 10958], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10958.10958.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10958.10958.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10958.10958.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10958.10958.0 [process 10958], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10958.10958.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10958.10958.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10958.10958.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10958.10958.0 [process 10958], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10958.10958.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10958.10958.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10958.10958.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=47: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=47: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=48: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=48: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=48: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 10986.10986.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 10986.10986.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10986.10986.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10986.10986.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10986.10986.0 [process 10986], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10986.10986.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=48: run a bit >Executing on host: kill -TERM 10971 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10971 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10986.10986.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10986.10986.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10986.10986.0 [process 10986], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10986.10986.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10986.10986.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10986.10986.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10986.10986.0 [process 10986], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10986.10986.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10986.10986.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10986.10986.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10986.10986.0 [process 10986], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10986.10986.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10986.10986.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10986.10986.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10986.10986.0 [process 10986], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10986.10986.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10986.10986.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10986.10986.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 10986.10986.0 [process 10986], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 10986.10986.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [10986.10986.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=10986.10986.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=48: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=48: expect eof: stepped 5 times >builtin_spawn /home/vries/gdb_versions/devel/build/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/vries/gdb_versions/devel/build/gdb/testsuite/../data-directory >warning: Found custom handler for signal 7 (Bus error) preinstalled. >warning: Found custom handler for signal 8 (Floating point exception) preinstalled. >warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. >Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) >won't be propagated to spawned programs. >GNU gdb (GDB) 13.0.50.20220628-git >Copyright (C) 2022 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. >Type "show copying" and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><https://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > >For help, type "help". >Type "apropos word" to search for commands related to "word". >(gdb) set height 0 >(gdb) set width 0 >(gdb) dir >Reinitialize source path to empty? (y or n) y >Source directories searched: $cdir:$cwd >(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base >Source directories searched: /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd >(gdb) kill >The program is not being run. >(gdb) file /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm >Reading symbols from /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm... >(gdb) delete breakpoints >(gdb) info breakpoints >No breakpoints or watchpoints. >(gdb) break -qualified main >Breakpoint 1 at 0x40050f: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 25. >(gdb) run >Starting program: /home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/gdb-sigterm/gdb-sigterm > >Breakpoint 1, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:25 >25 unsigned int seconds = TIMEOUT + 20; >(gdb) tbreak gdb-sigterm.c:29 >Temporary breakpoint 2 at 0x400520: file /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line 29. >(gdb) continue >Continuing. > >Temporary breakpoint 2, main () at /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c:29 >29 for (;;); /* loop-line */ >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=49: continue >set range-stepping off >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=49: set range-stepping off >set debug infrun 1 >(gdb) PASS: gdb.base/gdb-sigterm.exp: pass=49: set debug infrun 1 >step >[infrun] clear_proceed_status_thread: 11014.11014.0 >[infrun] set_step_info: symtab = /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.c, line = 29, step_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special}, step_stack_frame_id = {stack=0x7fffffffd2e0,code=0x0000000000400507,!special} >[infrun] proceed: enter > [infrun] proceed: addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT > [infrun] scoped_disable_commit_resumed: reason=proceeding > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] proceed: start: resuming threads, all-stop-on-top-of-non-stop > [infrun] proceed: resuming 11014.11014.0 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [11014.11014.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=11014.11014.0, step=1, sig=GDB_SIGNAL_0 > [infrun] infrun_async: enable=1 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] proceed: end: resuming threads, all-stop-on-top-of-non-stop > [infrun] reset: reason=proceeding > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] proceed: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 11014.11014.0 [process 11014], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 11014.11014.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] >PASS: gdb.base/gdb-sigterm.exp: pass=49: run a bit >Executing on host: kill -TERM 10999 (timeout = 300) >builtin_spawn -ignore SIGHUP kill -TERM 10999 > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [11014.11014.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=11014.11014.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 11014.11014.0 [process 11014], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 11014.11014.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [11014.11014.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=11014.11014.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 11014.11014.0 [process 11014], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 11014.11014.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [11014.11014.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=11014.11014.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 11014.11014.0 [process 11014], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 11014.11014.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [11014.11014.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=11014.11014.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 11014.11014.0 [process 11014], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 11014.11014.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [11014.11014.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=11014.11014.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >[infrun] fetch_inferior_event: enter > [infrun] scoped_disable_commit_resumed: reason=handling event > [infrun] random_pending_event_thread: None found. > [infrun] print_target_wait_results: target_wait (-1.0.0 [process -1], status) = > [infrun] print_target_wait_results: 11014.11014.0 [process 11014], > [infrun] print_target_wait_results: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] handle_inferior_event: status->kind = STOPPED, sig = GDB_SIGNAL_TRAP > [infrun] start_step_over: enter > [infrun] start_step_over: stealing global queue of threads to step, length = 0 > [infrun] operator(): step-over queue now empty > [infrun] start_step_over: exit > [infrun] context_switch: Switching context from 0.0.0 to 11014.11014.0 > [infrun] handle_signal_stop: stop_pc=0x400520 > [infrun] process_event_stop_test: stepping inside range [0x400520-0x400522] > [infrun] resume_1: step=1, signal=GDB_SIGNAL_0, trap_expected=0, current thread [11014.11014.0] at 0x400520 > [infrun] do_target_resume: resume_ptid=11014.11014.0, step=1, sig=GDB_SIGNAL_0 > [infrun] prepare_to_wait: prepare_to_wait > [infrun] reset: reason=handling event > [infrun] maybe_set_commit_resumed_all_targets: enabling commit-resumed for target native > [infrun] maybe_call_commit_resumed_all_targets: calling commit_resumed for target native >[infrun] fetch_inferior_event: exit >PASS: gdb.base/gdb-sigterm.exp: pass=49: expect eof (got eof) >gdb.base/gdb-sigterm.exp: pass=49: expect eof: stepped 5 times >PASS: gdb.base/gdb-sigterm.exp: 50 SIGTERM passes >testcase /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb-sigterm.exp completed in 98 seconds
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 29297
: 14181