diff options
author | Pedro Alves <palves@redhat.com> | 2013-11-29 15:25:46 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-11-29 15:25:46 +0000 |
commit | 20e1ca3bc11b03d85dcee5a155fdf5290476028b (patch) | |
tree | 129a65dba0c2cbfef09169ab5a2f359b398197b9 /gdb/doc | |
parent | 8b4f3082d8f1f7605c6f89f12bc3a93da06845c5 (diff) | |
download | gdb-20e1ca3bc11b03d85dcee5a155fdf5290476028b.zip gdb-20e1ca3bc11b03d85dcee5a155fdf5290476028b.tar.gz gdb-20e1ca3bc11b03d85dcee5a155fdf5290476028b.tar.bz2 |
UNWIND_NULL_ID is no longer used anywhere. Update comments.
Unfortunately, UNWIND_NULL_ID is exported to Python as
gdb.FRAME_UNWIND_NULL_ID so we can't really eliminate it.
(I'd assume scripts just check the result of Frame.unwind_stop_reason,
and compare it to gdb.FRAME_UNWIND_NO_REASON. That at most, they'll
pass the result of Frame.unwind_stop_reason to
gdb.frame_stop_reason_string. I'd prefer to just get rid of it, but
because we make an API promise, we get to keep this around for
compatibility, in case a script does refer to gdb.FRAME_UNWIND_NULL_ID
directly.)
gdb/
2013-11-29 Pedro Alves <palves@redhat.com>
* unwind_stop_reasons.def (UNWIND_NULL_ID): Update comment.
gdb/doc/
2013-11-29 Pedro Alves <palves@redhat.com>
* gdb.texinfo (Frames In Python) <gdb.FRAME_UNWIND_NULL_ID>:
Update comment.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 141d47f..87d28c0 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2013-11-29 Pedro Alves <palves@redhat.com> + + * gdb.texinfo (Frames In Python) <gdb.FRAME_UNWIND_NULL_ID>: + Update comment. + 2013-11-24 Yao Qi <yao@codesourcery.com> * gdb.texinfo (Caching Remote Data): Document new diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 004c376..ddb4b38 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -26556,7 +26556,9 @@ function to a string. The value can be one of: No particular reason (older frames should be available). @item gdb.FRAME_UNWIND_NULL_ID -The previous frame's analyzer returns an invalid result. +The previous frame's analyzer returns an invalid result. This is no +longer used by @value{GDBN}, and is kept only for backward +compatibility. @item gdb.FRAME_UNWIND_OUTERMOST This frame is the outermost. |