gdb: remove parameter of gdbarch_displaced_step_hw_singlestep
authorSimon Marchi <simon.marchi@polymtl.ca>
Thu, 29 Oct 2020 22:02:13 +0000 (18:02 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 29 Oct 2020 22:02:13 +0000 (18:02 -0400)
commit40a5376690d9124b13ae9e9217cb7c524864e208
treefb0c1ae4a85a7d1114a6b4846e25aaa2d0d507a4
parent8407f91bd388952721efa7f12c75bf94324dc506
gdb: remove parameter of gdbarch_displaced_step_hw_singlestep

I noticed that the closure parameter of
gdbarch_displaced_step_hw_singlestep is never used by any
implementation of the method, so this patch removes it.

gdb/ChangeLog:

* gdbarch.sh (displaced_step_hw_singlestep): Remove closure
parameter.
* aarch64-tdep.c (aarch64_displaced_step_hw_singlestep):
Likewise.
* aarch64-tdep.h (aarch64_displaced_step_hw_singlestep):
Likewise.
* arch-utils.c (default_displaced_step_hw_singlestep):
Likewise.
* arch-utils.h (default_displaced_step_hw_singlestep):
Likewise.
* rs6000-tdep.c (ppc_displaced_step_hw_singlestep):
Likewise.
* s390-tdep.c (s390_displaced_step_hw_singlestep):
Likewise.
* gdbarch.c: Re-generate.
* gdbarch.h: Re-generate.
* infrun.c (resume_1): Adjust.

Change-Id: I7354f0b22afc2692ebff0cd700a462db8f389fc1
gdb/ChangeLog
gdb/aarch64-tdep.c
gdb/aarch64-tdep.h
gdb/arch-utils.c
gdb/arch-utils.h
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/infrun.c
gdb/rs6000-tdep.c
gdb/s390-tdep.c