aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-03-10 20:18:42 +0000
committerMichael Snyder <msnyder@vmware.com>2011-03-10 20:18:42 +0000
commit4f269b12df36167cc053fc8493d4f8e1a9b2c259 (patch)
tree31e36485db49396f4345cfc2be608d98d4feea97 /gdb
parentb2c044529986cbce7edaba8d5998609e625c0f38 (diff)
downloadgdb-4f269b12df36167cc053fc8493d4f8e1a9b2c259.zip
gdb-4f269b12df36167cc053fc8493d4f8e1a9b2c259.tar.gz
gdb-4f269b12df36167cc053fc8493d4f8e1a9b2c259.tar.bz2
2011-02-27 Michael Snyder <msnyder@vmware.com>
* gdbserver/tracepoint.c (tracepoint_finish_step): Fix loop variable.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/gdbserver/tracepoint.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e5ab285..a4df0aa 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
2011-03-10 Michael Snyder <msnyder@vmware.com>
+ * gdbserver/tracepoint.c (tracepoint_finish_step): Fix
+ loop variable.
+
* gdbserver/server.c (handle_v_run): Free alloced buffer on early
return.
diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c
index c0e4cac..fc9c7d8 100644
--- a/gdb/gdbserver/tracepoint.c
+++ b/gdb/gdbserver/tracepoint.c
@@ -3676,6 +3676,7 @@ tracepoint_finished_step (struct thread_info *tinfo, CORE_ADDR stop_pc)
/* Unlink. */
*wstep_link = wstep->next;
release_while_stepping_state (wstep);
+ wstep = *wstep_link;
continue;
}