diff options
author | Pedro Alves <palves@redhat.com> | 2014-10-22 05:09:07 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-02-27 17:30:57 +0000 |
commit | 10367c7c946a123597cbc5efaa44c18912e5e43a (patch) | |
tree | 67aec88532c500df14a35b5f4fda955b9cfb0c6f /setup.com | |
parent | 4180215b9db1549b88da2da2fcc320fe28233481 (diff) | |
download | gdb-10367c7c946a123597cbc5efaa44c18912e5e43a.zip gdb-10367c7c946a123597cbc5efaa44c18912e5e43a.tar.gz gdb-10367c7c946a123597cbc5efaa44c18912e5e43a.tar.bz2 |
mi/mi-cmd-stack.c|frame filters: print_values <-> ext_lang_frame_args
The enums are value compatible by design, but building in C++ mode trips
on them, like:
...
gdb/mi/mi-cmd-stack.c:363:34: error: cannot convert ‘print_values’ to ‘ext_lang_frame_args’ for argument ‘3’ to ‘ext_lang_bt_status apply_ext_lang_frame_filter(frame_info*, int, ext_lang_frame_args, ui_out*, int, int)’
...
Fix this by adding a helper function.
gdb/ChangeLog:
2015-02-27 Pedro Alves <palves@redhat.com>
* mi/mi-cmd-stack.c (mi_apply_ext_lang_frame_filter): New
function.
(mi_cmd_stack_list_locals, mi_cmd_stack_list_args)
(mi_cmd_stack_list_variables): Use it.
Diffstat (limited to 'setup.com')
0 files changed, 0 insertions, 0 deletions