Make exceptions use std::string and be self-managing
[deliverable/binutils-gdb.git] / gdb / value.c
index c0f8a58168a45f72343ffa5f44b0e2f830cc82a2..02307c1a836941f8bd19d5ec599b63af3a7aafe3 100644 (file)
@@ -2544,7 +2544,7 @@ show_convenience (const char *ignore, int from_tty)
        }
       CATCH (ex, RETURN_MASK_ERROR)
        {
-         fprintf_filtered (gdb_stdout, _("<error: %s>"), ex.message);
+         fprintf_filtered (gdb_stdout, _("<error: %s>"), ex.what ());
        }
       END_CATCH
 
This page took 0.025637 seconds and 4 git commands to generate.