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 | 43c1207f46990620627edf44312a335b37c4a21c (patch) | |
tree | c9e43d8a82a35a97c0915d58c4f5862056236e11 /gdb | |
parent | 7242e43ad9efc977d240badafd7226114f51ad45 (diff) | |
download | gdb-43c1207f46990620627edf44312a335b37c4a21c.tar.gz |
* mi/mi-main.c (mi_cmd_execute): Remove unused variable.
Fix printing of frame, when frame is wrong.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/mi/mi-main.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9ca905b218f..d764ccced4e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-07-13 Vladimir Prus <vladimir@codesourcery.com> + + * mi/mi-main.c (mi_cmd_execute): Remove unused variable. + Fix printing of frame, when frame is wrong. + 2008-07-12 Ulrich Weigand <uweigand@de.ibm.com> * spu-tdep.c (spu_frame_unwind_cache): Do not error if diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index 43f3a5f8fd6..4a52cbb66d6 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) |