Make exceptions use std::string and be self-managing
[deliverable/binutils-gdb.git] / gdb / cp-valprint.c
index 443c3b06dac8986e5b07774d053eb75b2d92dc25..308c25bc795c5d5444213517439b34e5cae282cb 100644 (file)
@@ -329,7 +329,7 @@ cp_print_value_fields (struct type *type, struct type *real_type,
                    {
                      fprintf_filtered (stream,
                                        _("<error reading variable: %s>"),
-                                       ex.message);
+                                       ex.what ());
                    }
                  END_CATCH
 
This page took 0.023208 seconds and 4 git commands to generate.