gdb/
[binutils-gdb.git] / gdb / inline-frame.c
index 5408e88002edc7441bb5fce8e877224e4920bd53..706bcd962ca29857723f0ec4037eac338b3425c4 100644 (file)
@@ -1,6 +1,6 @@
 /* Inline frame unwinder for GDB.
 
-   Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -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);