diff options
Diffstat (limited to 'gdb/target.c')
-rw-r--r-- | gdb/target.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/target.c b/gdb/target.c index 6c05b6b..646f913 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -759,12 +759,12 @@ target_translate_tls_address (struct objfile *objfile, CORE_ADDR offset) error (_("Cannot find thread-local storage for %s, " "shared library %s:\n%s"), target_pid_to_str (ptid).c_str (), - objfile_name (objfile), ex.message); + objfile_name (objfile), ex.what ()); else error (_("Cannot find thread-local storage for %s, " "executable file %s:\n%s"), target_pid_to_str (ptid).c_str (), - objfile_name (objfile), ex.message); + objfile_name (objfile), ex.what ()); break; default: throw_exception (ex); |