Remove unused parameter in maybe_software_singlestep
authorLancelot SIX <lsix@lancelotsix.com>
Thu, 8 Jul 2021 23:09:11 +0000 (00:09 +0100)
committerLancelot SIX <lsix@lancelotsix.com>
Thu, 8 Jul 2021 23:11:55 +0000 (00:11 +0100)
commit22b11ba924713e2d6d4879be5470a721f0dddf35
tree47cead0e82ea27c14d429386781b55011f4293bf
parent661b504df9bfb8d7c5d669091720e1dc0079c05e
Remove unused parameter in maybe_software_singlestep

While working around, I noticed that the last parameter of
maybe_software_singlestep is never used.  This path removes
it.

Built on x86_64-linux-gnu and riscv64-linux-gnu.

gdb/ChangeLog:

* infrun.c (maybe_software_singlestep): Remove unused PC
parameter.
(resume_1): Update calls to maybe_software_singlestep.
gdb/infrun.c