2011-02-27 Michael Snyder <msnyder@vmware.com>

* gdbserver/tracepoint.c (tracepoint_finish_step): Fix
	loop variable.
This commit is contained in:
Michael Snyder 2011-03-10 20:18:42 +00:00
parent b2c0445299
commit 4f269b12df
2 changed files with 4 additions and 0 deletions

View File

@ -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.

View File

@ -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;
}