* defs.h (STRCMP, STREQ, STREQN): New macros.
[deliverable/binutils-gdb.git] / gdb / m2-exp.y
index 12a8a50de928246b2b094a3e03ded3840bce952f..037a07419b493be00122b52512f90ee4e1ec0e1e 100644 (file)
@@ -631,7 +631,7 @@ variable:   NAME
                                {
                                  write_exp_elt_opcode (OP_LONG);
                                  write_exp_elt_type (builtin_type_int);
-                                 write_exp_elt_longcst ((LONGEST) msymbol -> address);
+                                 write_exp_elt_longcst ((LONGEST) SYMBOL_VALUE_ADDRESS (msymbol));
                                  write_exp_elt_opcode (OP_LONG);
                                  write_exp_elt_opcode (UNOP_MEMVAL);
                                  if (msymbol -> type == mst_data ||
This page took 0.024531 seconds and 4 git commands to generate.