Mention that create_child takes ownership of the allocated name
authorSimon Marchi <simon.marchi@ericsson.com>
Fri, 30 Jan 2015 20:14:46 +0000 (15:14 -0500)
committerSimon Marchi <simon.marchi@ericsson.com>
Fri, 30 Jan 2015 20:14:46 +0000 (15:14 -0500)
gdb/ChangeLog:

* varobj.c (create_child): Modify comment.

gdb/ChangeLog
gdb/varobj.c

index 35da6b6391a47a062cc275e19699d59cc08ef2be..bdf9fccea0d11dd799cc79025c1606b0261f40a3 100644 (file)
@@ -1,3 +1,7 @@
+2015-01-30  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * varobj.c (create_child): Modify comment.
+
 2015-01-30  Simon Marchi  <simon.marchi@ericsson.com>
 
        * ada-varobj.c (ada_number_of_children): Constify struct varobj *
index 0daef917590304d5b1b18efa612de16124c98189..76bf495cf007e776ace0a1fb855e041dc6e8eb5c 100644 (file)
@@ -2043,7 +2043,10 @@ uninstall_variable (struct varobj *var)
 
 }
 
-/* Create and install a child of the parent of the given name.  */
+/* Create and install a child of the parent of the given name.
+
+   The created VAROBJ takes ownership of the allocated NAME.  */
+
 static struct varobj *
 create_child (struct varobj *parent, int index, char *name)
 {
This page took 0.033056 seconds and 4 git commands to generate.