diff options
Diffstat (limited to 'unwind.c')
-rw-r--r-- | unwind.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -187,6 +187,12 @@ void uw_pop_frame(uw_frame_t *fr) } } +void uw_pop_until(uw_frame_t *fr) +{ + while (uw_stack != fr) + uw_pop_frame(uw_stack); +} + uw_frame_t *uw_current_frame(void) { return uw_stack; |