diff options
author | Tom Tromey <tom@tromey.com> | 2017-04-23 11:07:26 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-03-26 21:57:11 -0600 |
commit | 63283d4a2983eaefd5d0860ddffcf946f0fe92db (patch) | |
tree | a8106e982eb26dbdfa3764f2db6568420f58ddce /gdb/extension.h | |
parent | 978d6c756fcb0332ddf12e19305dd0e53b98a93d (diff) | |
download | gdb-63283d4a2983eaefd5d0860ddffcf946f0fe92db.zip gdb-63283d4a2983eaefd5d0860ddffcf946f0fe92db.tar.gz gdb-63283d4a2983eaefd5d0860ddffcf946f0fe92db.tar.bz2 |
Remove EXT_LANG_BT_COMPLETED
While looking at the frame filter code, I noticed that
EXT_LANG_BT_COMPLETED is not really needed. Semantically there is no
difference between the "completed" and "ok" results. So, this patch
removes this constant.
gdb/ChangeLog
2018-03-26 Tom Tromey <tom@tromey.com>
* python/py-framefilter.c (py_print_frame): Return
EXT_LANG_BT_OK.
(gdbpy_apply_frame_filter): Update comment.
* extension.h (enum ext_lang_bt_status) <EXT_LANG_BT_COMPLETED>:
Remove.
<EXT_LANG_BT_NO_FILTERS>: Change value.
Diffstat (limited to 'gdb/extension.h')
-rw-r--r-- | gdb/extension.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/extension.h b/gdb/extension.h index a972928..c675ae2 100644 --- a/gdb/extension.h +++ b/gdb/extension.h @@ -76,13 +76,9 @@ enum ext_lang_bt_status succeeded. */ EXT_LANG_BT_OK = 1, - /* Return when the frame filter process is complete, and all - operations have succeeded. */ - EXT_LANG_BT_COMPLETED = 2, - /* Return when the frame filter process is complete, but there were no filter registered and enabled to process. */ - EXT_LANG_BT_NO_FILTERS = 3 + EXT_LANG_BT_NO_FILTERS = 2 }; /* Flags to pass to apply_extlang_frame_filter. */ |