diff options
Diffstat (limited to 'gdb/cli/cli-script.c')
-rw-r--r-- | gdb/cli/cli-script.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c index e2fa880..f558c06 100644 --- a/gdb/cli/cli-script.c +++ b/gdb/cli/cli-script.c @@ -1550,7 +1550,8 @@ script_from_file (FILE *stream, const char *file) prepended. */ throw_error (e.error, _("%s:%d: Error in sourced command file:\n%s"), - source_file_name.c_str (), source_line_number, e.message); + source_file_name.c_str (), source_line_number, + e.what ()); } END_CATCH } |