diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-10-29 20:23:17 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-10-29 20:23:17 +0000 |
commit | b04f3ab41782ec089e698e372f567bde75831438 (patch) | |
tree | 0a3b97a891dba140098c58f5313ca4b75fcbdb47 /gdb/mi | |
parent | 00b25ff323929eaa3b7ddaea20985a4174cf6381 (diff) | |
download | gdb-b04f3ab41782ec089e698e372f567bde75831438.zip gdb-b04f3ab41782ec089e698e372f567bde75831438.tar.gz gdb-b04f3ab41782ec089e698e372f567bde75831438.tar.bz2 |
2004-10-29 Andrew Cagney <cagney@gnu.org>
* frame.h (get_selected_frame): Add message parameter.
* frame.c (get_selected_frame): Add and use message parameter.
* stack.c (current_frame_command, return_command, locals_info)
(catch_info, args_info, up_silently_base, down_silently_base): Use
get_selected_frame with an explicit message.
* thread.c, stack.c, sh-tdep.c, sh64-tdep.c: Update.
* remote-rdp.c, remote-mips.c, remote-e7000.c: Update.
* ocd.c, mi/mi-main.c, mi/mi-cmd-stack.c: Update.
* infrun.c, inflow.c, infcmd.c, frame.c: Update.
* findvar.c, eval.c, corelow.c, bsd-kvm.c: Update.
* breakpoint.c: Update.
Diffstat (limited to 'gdb/mi')
-rw-r--r-- | gdb/mi/mi-cmd-stack.c | 2 | ||||
-rw-r--r-- | gdb/mi/mi-main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mi/mi-cmd-stack.c b/gdb/mi/mi-cmd-stack.c index 37d0846..cafd45c 100644 --- a/gdb/mi/mi-cmd-stack.c +++ b/gdb/mi/mi-cmd-stack.c @@ -139,7 +139,7 @@ mi_cmd_stack_list_locals (char *command, char **argv, int argc) if (argc != 1) error ("mi_cmd_stack_list_locals: Usage: PRINT_VALUES"); - frame = get_selected_frame (); + frame = get_selected_frame (NULL); if (strcmp (argv[0], "0") == 0 || strcmp (argv[0], "--no-values") == 0) diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index 6961992..74336ab 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -181,7 +181,7 @@ mi_cmd_exec_return (char *args, int from_tty) /* Because we have called return_command with from_tty = 0, we need to print the frame here. */ - print_stack_frame (get_selected_frame (), 1, LOC_AND_ADDRESS); + print_stack_frame (get_selected_frame (NULL), 1, LOC_AND_ADDRESS); return MI_CMD_DONE; } |