aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominique Quatravaux <dominique.quatravaux@epfl.ch>2021-04-08 15:22:41 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2021-04-08 15:22:49 -0400
commit83a559f7b93f2a06306e46d0d9ac094c599396ae (patch)
treea07801ab3c411e51610877a0b08f7926fb159660
parentb7f507caf082212ea1aa62897bb26d0f3b59b5c4 (diff)
downloadfsf-binutils-gdb-83a559f7b93f2a06306e46d0d9ac094c599396ae.zip
fsf-binutils-gdb-83a559f7b93f2a06306e46d0d9ac094c599396ae.tar.gz
fsf-binutils-gdb-83a559f7b93f2a06306e46d0d9ac094c599396ae.tar.bz2
Remove unused variable un darwin_nat_target::resume
gdb/ChangeLog: * darwin-nat.c (darwin_nat_target::resume): Remove status variable. Change-Id: Ibcbdd6641a12252840c7dea9f388f4f8ce265e3d
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/darwin-nat.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e2fd912..136eb87 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2021-04-08 Dominique Quatravaux <dominique.quatravaux@epfl.ch>
+
+ * darwin-nat.c (darwin_nat_target::resume): Remove status
+ variable.
+
2021-04-08 Felix Willgerodt <felix.willgerodt@intel.com>
* i386-tdep.c (i386_skip_prologue): Use symbol table to find the
diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c
index 587f531..a679079 100644
--- a/gdb/darwin-nat.c
+++ b/gdb/darwin-nat.c
@@ -903,8 +903,6 @@ darwin_suspend_inferior_threads (struct inferior *inf)
void
darwin_nat_target::resume (ptid_t ptid, int step, enum gdb_signal signal)
{
- struct target_waitstatus status;
-
int nsignal;
inferior_debug