Make exceptions use std::string and be self-managing
[deliverable/binutils-gdb.git] / gdb / target.c
index 6c05b6b83ef8a70550616e50d5a0316fdff756bb..646f913e0a9b5766dad1f918bc01c55e7c179ffb 100644 (file)
@@ -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);
This page took 0.035902 seconds and 4 git commands to generate.