summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2008-12-02 09:52:31 +0000
committerDoug Evans <dje@google.com>2008-12-02 09:52:31 +0000
commit541fb9b0c146bd8554229ac226f06217d9365980 (patch)
treeb801077323e2e97323123cc1fe6df081e7614ea5
parentc9a95c6dd1449250301d18a1c06b2ed47d3fa1c3 (diff)
downloadgdb-541fb9b0c146bd8554229ac226f06217d9365980.tar.gz
* infrun.c (handle_inferior_event): Delete unused local tp.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/infrun.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b03502a33f3..abdfc91edef 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2008-12-02 Doug Evans <dje@google.com>
+
+ * infrun.c (handle_inferior_event): Delete unused local tp.
+
2008-12-02 Pedro Alves <pedro@codesourcery.com>
Vladimir Prus <vladimir@codesourcery.com>
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 81e81361156..c3d3eb717b8 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -2521,8 +2521,6 @@ targets should add new threads to the thread list themselves in non-stop mode.")
the fact that we were supposed to switch back. */
if (ecs->event_thread->stop_signal == TARGET_SIGNAL_TRAP)
{
- struct thread_info *tp;
-
if (debug_infrun)
fprintf_unfiltered (gdb_stdlog,
"infrun: handling deferred step\n");