mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-26 11:33:45 +08:00
(mi_cmd_stack_info_frame): New function.
This commit is contained in:
parent
7fcae197ab
commit
64fd8944d9
@ -329,3 +329,13 @@ mi_cmd_stack_select_frame (char *command, char **argv, int argc)
|
||||
select_frame_command (argv[0], 1 /* not used */ );
|
||||
return MI_CMD_DONE;
|
||||
}
|
||||
|
||||
enum mi_cmd_result
|
||||
mi_cmd_stack_info_frame (char *command, char **argv, int argc)
|
||||
{
|
||||
if (argc > 0)
|
||||
error (_("mi_cmd_stack_info_frame: No arguments required"));
|
||||
|
||||
print_frame_info (get_selected_frame (NULL), 1, LOC_AND_ADDRESS, 0);
|
||||
return MI_CMD_DONE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user