diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b0544387e8..11997e6c1b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2015-09-02 Patrick Palka + + * gdbtypes.c (copy_type_recursive): Update documentation. + 2015-09-01 Sergio Durigan Junior * solib-svr4.c (solib_event_probe_action): Initialize 'probe_argc' diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index 8204d39d18..7a18bed04f 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -4356,9 +4356,9 @@ copy_dynamic_prop_list (struct obstack *objfile_obstack, } /* Recursively copy (deep copy) TYPE, if it is associated with - OBJFILE. Return a new type allocated using malloc, a saved type if - we have already visited TYPE (using COPIED_TYPES), or TYPE if it is - not associated with OBJFILE. */ + OBJFILE. Return a new type owned by the gdbarch associated with the type, a + saved type if we have already visited TYPE (using COPIED_TYPES), or TYPE if + it is not associated with OBJFILE. */ struct type * copy_type_recursive (struct objfile *objfile,