aboutsummaryrefslogtreecommitdiff
path: root/gdb/common/selftest.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/common/selftest.c')
-rw-r--r--gdb/common/selftest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/common/selftest.c b/gdb/common/selftest.c
index fe060ff..1e73708 100644
--- a/gdb/common/selftest.c
+++ b/gdb/common/selftest.c
@@ -90,7 +90,7 @@ run_tests (const char *filter)
CATCH (ex, RETURN_MASK_ERROR)
{
++failed;
- debug_printf ("Self test failed: %s\n", ex.message);
+ debug_printf ("Self test failed: %s\n", ex.what ());
}
END_CATCH