mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-05 10:57:57 +00:00
* mi/mi-main.c (mi_cmd_execute): Remove unused variable.
Fix printing of frame, when frame is wrong.
This commit is contained in:
parent
bbabb60fd8
commit
ea06926780
@ -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>
|
2008-07-12 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
* spu-tdep.c (spu_frame_unwind_cache): Do not error if
|
* spu-tdep.c (spu_frame_unwind_cache): Do not error if
|
||||||
|
@ -1068,9 +1068,6 @@ static void
|
|||||||
mi_cmd_execute (struct mi_parse *parse)
|
mi_cmd_execute (struct mi_parse *parse)
|
||||||
{
|
{
|
||||||
struct cleanup *cleanup;
|
struct cleanup *cleanup;
|
||||||
char *thread_str;
|
|
||||||
char *frame_str;
|
|
||||||
int thread;
|
|
||||||
int i;
|
int i;
|
||||||
free_all_values ();
|
free_all_values ();
|
||||||
|
|
||||||
@ -1101,7 +1098,7 @@ mi_cmd_execute (struct mi_parse *parse)
|
|||||||
/* find_relative_frame was successful */
|
/* find_relative_frame was successful */
|
||||||
select_frame (fid);
|
select_frame (fid);
|
||||||
else
|
else
|
||||||
error (_("Invalid frame id: %s"), frame_str);
|
error (_("Invalid frame id: %d"), frame);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (parse->cmd->argv_func != NULL)
|
if (parse->cmd->argv_func != NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user