Fix value_print, which used to be ostensibly langauge-indepentdent,
[deliverable/binutils-gdb.git] / gdb / m2-lang.c
index ba4744fa1f2a708b87183b02a8073cdb4ae2f836..c12b7ddf5d6c2eb1dc745f4d954a0e1c8d4b8c4c 100644 (file)
@@ -24,6 +24,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include "parser-defs.h"
 #include "language.h"
 #include "m2-lang.h"
+#include "c-lang.h"
 
 /* Print the character C on STREAM as part of the contents of a literal
    string whose delimiter is QUOTER.  Note that that format for printing
@@ -405,6 +406,7 @@ const struct language_defn m2_language_defn = {
   m2_create_fundamental_type,  /* Create fundamental type in this language */
   m2_print_type,               /* Print a type using appropriate syntax */
   m2_val_print,                        /* Print a value using appropriate syntax */
+  c_value_print,               /* Print a top-level value */
   &builtin_type_m2_real,       /* longest floating point type */
   {"",      "",   "",   ""},   /* Binary format info */
   {"%loB",   "",   "o",  "B"}, /* Octal format info */
This page took 0.022777 seconds and 4 git commands to generate.