diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2009-09-19 11:12:42 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2009-09-19 11:12:42 +0000 |
commit | 654e7c1f80fd51145112e0ce93d940dc432934bf (patch) | |
tree | 7778984dcc653fb4e6bfc3bda7d4e04dbf302b5f /gdb/mi | |
parent | b3372f91a14d2f43294ada7b9f42a6368a3975f8 (diff) | |
download | gdb-654e7c1f80fd51145112e0ce93d940dc432934bf.zip gdb-654e7c1f80fd51145112e0ce93d940dc432934bf.tar.gz gdb-654e7c1f80fd51145112e0ce93d940dc432934bf.tar.bz2 |
* mi/mi-cmd-stack.c (list_args_or_locals): Workaround
gcc warning.
Diffstat (limited to 'gdb/mi')
-rw-r--r-- | gdb/mi/mi-cmd-stack.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/mi/mi-cmd-stack.c b/gdb/mi/mi-cmd-stack.c index 4bcbe98..3dad54f 100644 --- a/gdb/mi/mi-cmd-stack.c +++ b/gdb/mi/mi-cmd-stack.c @@ -261,6 +261,8 @@ list_args_or_locals (enum what_to_list what, int values, struct frame_info *fi) name_of_result = "args"; break; case all: name_of_result = "variables"; break; + default: + gdb_assert (("unexpected value", 0)); } cleanup_list = make_cleanup_ui_out_list_begin_end (uiout, name_of_result); |