* exec.c (xfer_memory): Add attrib argument.
[deliverable/binutils-gdb.git] / gdb / cp-valprint.c
index e82861307ce748158980817b9b09c689da825845..7f48a12634966e54dbc1ebaed041f8a370fc497d 100644 (file)
@@ -152,7 +152,7 @@ common:
       else
        {
          fputs_filtered (demangled_name, stream);
-         free (demangled_name);
+         xfree (demangled_name);
        }
     }
   else
@@ -458,7 +458,7 @@ cp_print_value_fields (struct type *type, struct type *real_type, char *valaddr,
            }                   /* non-RRBC case */
          else
            {
-             /* FIXME -- seem comments above */
+             /* FIXME -- see comments above */
              /* RRBC support present; function pointers are found
               * by indirection through the class segment entries. */
 
@@ -793,5 +793,5 @@ _initialize_cp_valprint (void)
   obstack_begin (&dont_print_vb_obstack, 32 * sizeof (struct type *));
   obstack_specify_allocation (&dont_print_statmem_obstack,
                              32 * sizeof (CORE_ADDR), sizeof (CORE_ADDR),
-                             xmalloc, free);
+                             xmalloc, xfree);
 }
This page took 0.023593 seconds and 4 git commands to generate.