Make exceptions use std::string and be self-managing
[deliverable/binutils-gdb.git] / gdb / x86-linux-nat.c
index 9a451e0e1aa0a41d49273c34231d6ef0ad95ae0f..f60ed8a9bdedc0f276200b02fb77f4cc278f0b86 100644 (file)
@@ -224,7 +224,7 @@ x86_linux_nat_target::enable_btrace (ptid_t ptid,
   CATCH (exception, RETURN_MASK_ERROR)
     {
       error (_("Could not enable branch tracing for %s: %s"),
-            target_pid_to_str (ptid).c_str (), exception.message);
+            target_pid_to_str (ptid).c_str (), exception.what ());
     }
   END_CATCH
 
This page took 0.025054 seconds and 4 git commands to generate.