From e48af409a9af471ba5484eddedd07e561bc19e51 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Fri, 10 Nov 2006 20:11:35 +0000 Subject: * frame.c (frame_register_unwind_location): New function. (get_prev_frame_1): Check for UNWIND_NO_SAVED_PC. (frame_stop_reason_string): Handle UNWIND_NO_SAVED_PC. * frame.h (enum unwind_stop_reason): Add UNWIND_NO_SAVED_PC. --- gdb/frame.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gdb/frame.h') diff --git a/gdb/frame.h b/gdb/frame.h index 1d6ae9d..5843a25 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -428,6 +428,10 @@ enum unwind_stop_reason this is a sign of unwinder failure. It could also indicate stack corruption. */ UNWIND_SAME_ID, + + /* The frame unwinder didn't find any saved PC, but we needed + one to unwind further. */ + UNWIND_NO_SAVED_PC, }; /* Return the reason why we can't unwind past this frame. */ -- cgit v1.1