diff options
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 a3af521..7166f94 100644 --- a/gdb/mi/mi-interp.c +++ b/gdb/mi/mi-interp.c @@ -241,7 +241,7 @@ mi_cmd_interpreter_exec (char *command, char **argv, int argc) struct exception e = interp_exec (interp_to_use, argv[i]); if (e.reason < 0) { - mi_error_message = e.message; + mi_error_message = xstrdup (e.message); result = MI_CMD_ERROR; break; } |