Use XCNEW gdbarch_tdep
[external/binutils.git] / gdb / c-varobj.c
index a5793e5..e3b097b 100644 (file)
@@ -843,7 +843,7 @@ cplus_describe_child (const struct varobj *parent, int index,
        }
       else
        {
-         char *access = NULL;
+         const char *access = NULL;
          int children[3];
 
          cplus_class_num_children (type, children);