diff options
author | Michael Snyder <msnyder@specifix.com> | 2010-05-14 21:25:50 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2010-05-14 21:25:50 +0000 |
commit | 849e4de3f5a7651baf776d13e7c93cfe7f96cd56 (patch) | |
tree | 1664213f48ec648bea62ca4a7a31920853df8f06 /gdb/inline-frame.c | |
parent | f14dc0aa828b0af6b18341cc6b3c031244eac8d3 (diff) | |
download | gdb-849e4de3f5a7651baf776d13e7c93cfe7f96cd56.tar.gz |
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.
Diffstat (limited to 'gdb/inline-frame.c')
-rw-r--r-- | gdb/inline-frame.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/inline-frame.c b/gdb/inline-frame.c index 6b90a52c1e0..706bcd962ca 100644 --- a/gdb/inline-frame.c +++ b/gdb/inline-frame.c @@ -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); |