aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-11-10 20:11:35 +0000
committerDaniel Jacobowitz <drow@false.org>2006-11-10 20:11:35 +0000
commite48af409a9af471ba5484eddedd07e561bc19e51 (patch)
tree99bc72440874166ea258cd8d6a6f8cebe10d4553 /gdb/frame.h
parent7a10774786f11bc9608da206f79d7d546d5685bb (diff)
downloadgdb-e48af409a9af471ba5484eddedd07e561bc19e51.zip
gdb-e48af409a9af471ba5484eddedd07e561bc19e51.tar.gz
gdb-e48af409a9af471ba5484eddedd07e561bc19e51.tar.bz2
* 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.
Diffstat (limited to 'gdb/frame.h')
-rw-r--r--gdb/frame.h4
1 files changed, 4 insertions, 0 deletions
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. */