]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix "objstack" typo
authorTom Tromey <tromey@adacore.com>
Thu, 1 Feb 2024 16:24:58 +0000 (09:24 -0700)
committerTom Tromey <tromey@adacore.com>
Thu, 1 Feb 2024 16:25:50 +0000 (09:25 -0700)
I noticed some comments that mentions "objstack".  The type is
actually "obstack".  This patch fixes the typos.

gdb/dwarf2/read.c
gdb/gdbtypes.c

index ca72cbfb7ff16b6aab41b0a22adcd82aaba681ae..e873d9cc4402294604fdd96f06f56f85c0a6decc 100644 (file)
@@ -6892,7 +6892,7 @@ dwarf2_full_name (const char *name, struct die_info *die, struct dwarf2_cu *cu)
 
 /* Construct a physname for the given DIE in CU.  NAME may either be
    from a previous call to dwarf2_name or NULL.  The result will be
-   allocated on the objfile_objstack or NULL if the DIE does not have a
+   allocated on the objfile_obstack or NULL if the DIE does not have a
    name.
 
    The output string will be canonicalized (if C++).  */
index a48c4c8abf280ed60f3eaafb8f78463fa9cbb04d..2e55a299fe47d6a67a222a2a0baed2623965de89 100644 (file)
@@ -2920,9 +2920,9 @@ type::remove_dyn_prop (dynamic_prop_node_kind kind)
       if (curr_node->prop_kind == kind)
        {
          /* Update the linked list but don't free anything.
-            The property was allocated on objstack and it is not known
+            The property was allocated on obstack and it is not known
             if we are on top of it.  Nevertheless, everything is released
-            when the complete objstack is freed.  */
+            when the complete obstack is freed.  */
          if (NULL == prev_node)
            this->main_type->dyn_prop_list = curr_node->next;
          else