diff options
author | Tom Tromey <tromey@redhat.com> | 2011-01-06 18:34:16 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-01-06 18:34:16 +0000 |
commit | ccfc3d6e06d5b9d2ebd8b8e4239f1313e33f40ac (patch) | |
tree | fcf41155ad132bb1f1b11f09be91406aacbb1114 /gdb/python | |
parent | 57126e4a45e3000ea9aa429da6a4ee4646606a3a (diff) | |
download | fsf-binutils-gdb-ccfc3d6e06d5b9d2ebd8b8e4239f1313e33f40ac.zip fsf-binutils-gdb-ccfc3d6e06d5b9d2ebd8b8e4239f1313e33f40ac.tar.gz fsf-binutils-gdb-ccfc3d6e06d5b9d2ebd8b8e4239f1313e33f40ac.tar.bz2 |
gdb
* frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
* python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
and ARCH_FRAME.
gdb/doc
PR python/12133:
* gdb.texinfo (Frames In Python): Document various frame
constants.
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/py-frame.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/python/py-frame.c b/gdb/python/py-frame.c index 42ccce9..3e11db1 100644 --- a/gdb/python/py-frame.c +++ b/gdb/python/py-frame.c @@ -581,7 +581,9 @@ gdbpy_initialize_frames (void) type's dictionary. That seems too messy. */ PyModule_AddIntConstant (gdb_module, "NORMAL_FRAME", NORMAL_FRAME); PyModule_AddIntConstant (gdb_module, "DUMMY_FRAME", DUMMY_FRAME); + PyModule_AddIntConstant (gdb_module, "INLINE_FRAME", INLINE_FRAME); PyModule_AddIntConstant (gdb_module, "SIGTRAMP_FRAME", SIGTRAMP_FRAME); + PyModule_AddIntConstant (gdb_module, "ARCH_FRAME", ARCH_FRAME); PyModule_AddIntConstant (gdb_module, "SENTINEL_FRAME", SENTINEL_FRAME); PyModule_AddIntConstant (gdb_module, "FRAME_UNWIND_NO_REASON", UNWIND_NO_REASON); |