diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-06-01 13:15:02 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-06-01 13:15:02 +0000 |
commit | 6085fc2d26557f389a19e00c9288197f66e65ca7 (patch) | |
tree | 9f129dd9685a205181798bc7559639d696335580 /gdb/mi/mi-interp.c | |
parent | de169ec977abe9e50ab1fc388fca26e408a8b99f (diff) | |
download | gdb-6085fc2d26557f389a19e00c9288197f66e65ca7.zip gdb-6085fc2d26557f389a19e00c9288197f66e65ca7.tar.gz gdb-6085fc2d26557f389a19e00c9288197f66e65ca7.tar.bz2 |
2004-06-01 Andrew Cagney <cagney@gnu.org>
* mi/mi-cmds.h (mi_error_last_message): Delete declaration.
* mi/mi-interp.c (mi_cmd_interpreter_exec): Call
error_last_message instead of mi_error_last_message.
* mi/mi-main.c (mi_error_last_message): Delete function.
Diffstat (limited to 'gdb/mi/mi-interp.c')
-rw-r--r-- | gdb/mi/mi-interp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c index 1a3031f..1a33fde 100644 --- a/gdb/mi/mi-interp.c +++ b/gdb/mi/mi-interp.c @@ -246,7 +246,7 @@ mi_cmd_interpreter_exec (char *command, char **argv, int argc) sync_execution = 1; if (interp_exec (interp_to_use, argv[i]) < 0) { - mi_error_last_message (); + mi_error_message = error_last_message (); result = MI_CMD_ERROR; break; } |