diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-07-13 03:59:28 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-07-13 03:59:28 +0000 |
commit | ea06926780ff672e8e39287a23f6fde0a5817787 (patch) | |
tree | 35af3847159a9ec928e5ba75e346d3610ad5f68c /gdb/mi | |
parent | bbabb60fd8485334ef615a43bc680a04eb5be30d (diff) | |
download | gdb-ea06926780ff672e8e39287a23f6fde0a5817787.zip gdb-ea06926780ff672e8e39287a23f6fde0a5817787.tar.gz gdb-ea06926780ff672e8e39287a23f6fde0a5817787.tar.bz2 |
* mi/mi-main.c (mi_cmd_execute): Remove unused variable.
Fix printing of frame, when frame is wrong.
Diffstat (limited to 'gdb/mi')
-rw-r--r-- | gdb/mi/mi-main.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index 43f3a5f..4a52cbb 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -1068,9 +1068,6 @@ static void mi_cmd_execute (struct mi_parse *parse) { struct cleanup *cleanup; - char *thread_str; - char *frame_str; - int thread; int i; free_all_values (); @@ -1101,7 +1098,7 @@ mi_cmd_execute (struct mi_parse *parse) /* find_relative_frame was successful */ select_frame (fid); else - error (_("Invalid frame id: %s"), frame_str); + error (_("Invalid frame id: %d"), frame); } if (parse->cmd->argv_func != NULL) |