mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 18:20:12 +08:00
2010-05-14 Michael Snyder <msnyder@vmware.com>
* infcall.c: White space. * inf-child.c: White space. * infcmd.c: White space. * inferior.c: White space. * inf-loop.c: White space. * inflow.c: White space. * inline-frame.c: White space. * interps.c: White space.
This commit is contained in:
@ -75,6 +75,7 @@ find_inline_frame_state (ptid_t ptid)
|
||||
{
|
||||
struct regcache *regcache = get_thread_regcache (ptid);
|
||||
CORE_ADDR current_pc = regcache_read_pc (regcache);
|
||||
|
||||
if (current_pc != state->saved_pc)
|
||||
{
|
||||
/* PC has changed - this context is invalid. Use the
|
||||
@ -124,6 +125,7 @@ clear_inline_frame_state (ptid_t ptid)
|
||||
{
|
||||
VEC (inline_state_s) *new_states = NULL;
|
||||
int pid = ptid_get_pid (ptid);
|
||||
|
||||
for (ix = 0; VEC_iterate (inline_state_s, inline_states, ix, state); ix++)
|
||||
if (pid != ptid_get_pid (state->ptid))
|
||||
VEC_safe_push (inline_state_s, new_states, state);
|
||||
|
Reference in New Issue
Block a user