* varobj.c (cplus_describe_child): Guard against null.
Use "NULL" instead of "0" to initialize pointers.
+2007-08-14 Michael Snyder <msnyder@access-company.com>
+
+ * varobj.c (cplus_describe_child): Guard against null.
+ Use "NULL" instead of "0" to initialize pointers.
+
2007-08-14 Daniel Jacobowitz <dan@codesourcery.com>
* arm-tdep.c (arm_gdbarch_init): Allow unknown ABI and FPU settings
2007-08-14 Daniel Jacobowitz <dan@codesourcery.com>
* arm-tdep.c (arm_gdbarch_init): Allow unknown ABI and FPU settings
cplus_describe_child (struct varobj *parent, int index,
char **cname, struct value **cvalue, struct type **ctype)
{
cplus_describe_child (struct varobj *parent, int index,
char **cname, struct value **cvalue, struct type **ctype)
{
struct value *value;
struct type *type;
struct value *value;
struct type *type;
int children[3];
cplus_class_num_children (type, children);
int children[3];
cplus_class_num_children (type, children);
if (cname)
*cname = xstrdup (access);
if (cname)
*cname = xstrdup (access);