aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-07-16 14:07:09 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-07-16 14:08:49 -0400
commita700e753e5b019fb5d783c4e15cb29f165a339d3 (patch)
treee95abc3110b098abed75ed4c81b6e19e80d345e7 /gdb
parent8b411ff8d537ae34f1336ba1e9694d694ddde27d (diff)
downloadfsf-binutils-gdb-a700e753e5b019fb5d783c4e15cb29f165a339d3.zip
fsf-binutils-gdb-a700e753e5b019fb5d783c4e15cb29f165a339d3.tar.gz
fsf-binutils-gdb-a700e753e5b019fb5d783c4e15cb29f165a339d3.tar.bz2
remote-sim.c: Remove unused variables
gdb/ChangeLog: * remote-sim.c (gdbsim_target::close, gdbsim_target::mourn_inferior): Remove unused variables.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/remote-sim.c6
2 files changed, 5 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e113804..e6bcd84 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2018-07-16 Simon Marchi <simon.marchi@ericsson.com>
+
+ * remote-sim.c (gdbsim_target::close,
+ gdbsim_target::mourn_inferior): Remove unused variables.
+
2018-07-16 Simon Marchi <simon.marchi@polymtl.ca>
* ia64-tdep.c (ktab_buf): New global.
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index f76261d..2900872 100644
--- a/gdb/remote-sim.c
+++ b/gdb/remote-sim.c
@@ -834,9 +834,6 @@ gdbsim_close_inferior (struct inferior *inf, void *arg)
void
gdbsim_target::close ()
{
- struct sim_inferior_data *sim_data
- = get_sim_inferior_data (current_inferior (), SIM_INSTANCE_NOT_NEEDED);
-
if (remote_debug)
fprintf_unfiltered (gdb_stdlog, "gdbsim_close\n");
@@ -1187,9 +1184,6 @@ gdbsim_target::files_info ()
void
gdbsim_target::mourn_inferior ()
{
- struct sim_inferior_data *sim_data
- = get_sim_inferior_data (current_inferior (), SIM_INSTANCE_NOT_NEEDED);
-
if (remote_debug)
fprintf_unfiltered (gdb_stdlog, "gdbsim_mourn_inferior:\n");