gdb: infrun: move stop_soon variable to inner scoped in handle_inferior_event
authorSimon Marchi <simon.marchi@polymtl.ca>
Wed, 3 Feb 2021 19:36:54 +0000 (14:36 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Wed, 3 Feb 2021 19:37:27 +0000 (14:37 -0500)
commit72d383bb08c3d09f77921e2b3f52569116bbf41e
tree7c8e2be4fb433c88fcf3056863cab09e91744a4d
parent61ecbbae8eb1d161316380ca0175912f414725ce
gdb: infrun: move stop_soon variable to inner scoped in handle_inferior_event

Moving it to an inner scope makes it clearer where it's used (only while
handling the TARGET_WAITKIND_LOADED event).

gdb/ChangeLog:

* infrun.c (handle_inferior_event): Move stop_soon variable to
inner scope.

Change-Id: Ic57685a21714cfbb38f1487ee96cea1d12b44652
gdb/ChangeLog
gdb/infrun.c