diff options
Diffstat (limited to 'gdb/python/py-utils.c')
-rw-r--r-- | gdb/python/py-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-utils.c b/gdb/python/py-utils.c index d470000..87715ee 100644 --- a/gdb/python/py-utils.c +++ b/gdb/python/py-utils.c @@ -240,7 +240,7 @@ gdbpy_convert_exception (struct gdb_exception exception) else exc_class = gdbpy_gdb_error; - PyErr_Format (exc_class, "%s", exception.message); + PyErr_Format (exc_class, "%s", exception.what ()); } /* Converts OBJ to a CORE_ADDR value. |