aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/tracepoint.c
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/gdbserver/tracepoint.c
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/gdbserver/tracepoint.c')
-rw-r--r--gdb/gdbserver/tracepoint.c1
1 files changed, 1 insertions, 0 deletions
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;
}