]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
infrun: Remove unnecessary currently_stepping call
authorPedro Alves <pedro@palves.net>
Mon, 10 Mar 2025 17:30:52 +0000 (17:30 +0000)
committerPedro Alves <pedro@palves.net>
Mon, 9 Jun 2025 17:09:10 +0000 (18:09 +0100)
commitb6d2c1099cdebdea279bb460f54805206e674e50
tree9759026eb46e75bed4d3e722b05489a7fc97c12a
parent6f0714b0a61592d8ad36f5fa0233f8c1fd72b5ac
infrun: Remove unnecessary currently_stepping call

There's one unnecessary check for currently_stepping in
handle_signal_stop that can be removed.  It is unnecessary because
currently_stepping is only ever called if
ecs->event_thread->control.trap_expected is true, and then if it is
true, then currently_stepping always returns true too.

Change-Id: I7b07bc62e8570333d2e4856d2e55ae6e58f8260c
gdb/infrun.c