Fix printing of frame, when frame is wrong.
+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
mi_cmd_execute (struct mi_parse *parse)
{
struct cleanup *cleanup;
- char *thread_str;
- char *frame_str;
- int thread;
int i;
free_all_values ();
/* 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)