Make exceptions use std::string and be self-managing
[deliverable/binutils-gdb.git] / gdb / compile / compile-cplus-symbols.c
index 0979784466e8aa2dfbf5d3adace4469c2d552a1b..4914c7c3c933e5b2dc72837dc59e9189abd6da3e 100644 (file)
@@ -392,7 +392,7 @@ gcc_cplus_convert_symbol (void *datum,
     {
       /* We can't allow exceptions to escape out of this callback.  Safest
         is to simply emit a gcc error.  */
-      instance->plugin ().error (e.message);
+      instance->plugin ().error (e.what ());
     }
   END_CATCH
 
@@ -469,7 +469,7 @@ gcc_cplus_symbol_address (void *datum, struct gcc_cp_context *gcc_context,
 
   CATCH (e, RETURN_MASK_ERROR)
     {
-      instance->plugin ().error (e.message);
+      instance->plugin ().error (e.what ());
     }
   END_CATCH
 
This page took 0.024112 seconds and 4 git commands to generate.