X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Funwind_stop_reasons.def;h=6caca3a179752c29c643b34087dd6d03ccae6ab3;hb=173981bc49c9e8fce9271cb47714952dbe2ec627;hp=02accff06b9c312d94216d41821e4ba64b993b43;hpb=c5a570810022466eaa5e077cd1b8aa00d74706f1;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/unwind_stop_reasons.def b/gdb/unwind_stop_reasons.def index 02accff06b..6caca3a179 100644 --- a/gdb/unwind_stop_reasons.def +++ b/gdb/unwind_stop_reasons.def @@ -1,4 +1,4 @@ -/* Copyright 2011-2012 Free Software Foundation, Inc. +/* Copyright (C) 2011-2016 Free Software Foundation, Inc. This file is part of GDB. @@ -31,13 +31,9 @@ or we didn't fail. */ SET (UNWIND_NO_REASON, "no reason") -/* The previous frame's analyzer returns an invalid result - from this_id. - - FIXME drow/2006-08-16: This is how GDB used to indicate end of - stack. We should migrate to a model where frames always have a - valid ID, and this becomes not just an error but an internal - error. But that's a project for another day. */ +/* This is no longer used anywhere, but it's kept because it's exposed + to Python. This is how GDB used to indicate end of stack. We've + now migrated to a model where frames always have a valid ID. */ SET (UNWIND_NULL_ID, "unwinder did not report frame ID") /* This frame is the outermost. */ @@ -64,6 +60,9 @@ SET (UNWIND_SAME_ID, "previous frame identical to this frame (corrupt stack?)") one to unwind further. */ SET (UNWIND_NO_SAVED_PC, "frame did not save the PC") +/* There was an error accessing memory while unwinding this frame. */ +SET (UNWIND_MEMORY_ERROR, "memory error while unwinding") + #endif /* SET */ @@ -76,5 +75,5 @@ FIRST_ENTRY (UNWIND_NO_REASON) #endif #ifdef LAST_ENTRY -LAST_ENTRY (UNWIND_NO_SAVED_PC) +LAST_ENTRY (UNWIND_MEMORY_ERROR) #endif