From patchwork Thu Feb 1 16:29:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 85158 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0CD38385800C for ; Thu, 1 Feb 2024 16:30:29 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) by sourceware.org (Postfix) with ESMTPS id 50F14385800C for ; Thu, 1 Feb 2024 16:30:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 50F14385800C Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 50F14385800C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::130 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706805002; cv=none; b=ZKLINZXPphRF+xwcS3thOWaf353AX65W0D1r8zBLQJbJ/OINabYvXXW7BiymrJfjcNil+oAE6nAEhSwLjLPuHXd+b6nKkQVbwdvO1cvvOsfChG1xvnwu60dPRp+CbcbaSOJJ8r9azXNY+O5ruQb/0rW/Vtqa0eH/3UYryiOagTA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706805002; c=relaxed/simple; bh=3adCe5OomKnfpmqPUCR6F7bMCbiJI2L9ALzKjUcR2uI=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=FdyDWYfKccJEePzSTxYkKZWupIdvNXT9xUGOMobEHM+8NwC+P9k/d9Rlrb7UCenyY6AKguRc0BeCQgw+GKw8r9ThWVh0k92FQsRzfuESvngmPWx66d2sAiSvU7qKEc1BejH/q669M11l58iL+8w1jPP89r6VrhAdfAt/6UB262U= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-il1-x130.google.com with SMTP id e9e14a558f8ab-363844ae819so4315105ab.1 for ; Thu, 01 Feb 2024 08:30:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1706805000; x=1707409800; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=uoRAXUgsU0Hj9CTwVkSKcwFfuLBn/v+XOTeFSCHyNtM=; b=UMxHJUulHsdm2CXsaNCKMnFprRTjPIHgmjOc9L93B7OkwC2uq8eDDHNjIUySAAOOqr xoBMKpq7xpRJQVbJTXTkulXu/GL9XvHIEGpF3NUSBCFgOCdFaBRCVYBHBqljSKYLUt8K Snzp7wUtKzF7kq+SibHlLH/kSHujSz7BngtzC9Kat98K1EpYR7CopwUwKJ6iXgPIWgzj BAefFJbZCTi+89/QLNoowmOrc7emN54aykoFVCIs90AxRWKk7JsnUSzpbtFKl1AzRKr3 8w8CC1eMTUpm1Ai+6Rf5xNkHrOiUaG2ut7ep05VOpJ692R7CHNfQIb1+jl6cngP/gpW9 cw/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706805000; x=1707409800; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=uoRAXUgsU0Hj9CTwVkSKcwFfuLBn/v+XOTeFSCHyNtM=; b=YuUL7WIX9YO8dzre3dlDrIRqC8bF6DfMRGNi5tOcZZuZzT0JUAnve73z87oz+DQTQo hCvHeQdKBp1ZKaJ4yCuisU56dkCAF9tLKDwu8Z3mRAp3cXfudj8tII2kRpb3nxGv4Ycx 6KfZx50bLvPJ5blvXDW9VPwIPH+zFb8MjSboBURMnb1ZHZJzKoewPsbMmk3NqkH6QWP/ eTik/LuipexjUl9Xu92lbBv6JOdfayeFBBY1B4jFX8xWiC/0TPa0Qo6niQEG27x284ks svlvjsA2TuVjLnd8baSxRLTexjIgRUMBCYz1l/qww/aAck3qLvhXSk3/bGs1GSeQ3JEX w6gQ== X-Gm-Message-State: AOJu0YwawwbnvmldWBGGFFA/2elDmc8JclFDEYLRPknsiGWhnMz352dR Q/o7t/r5qHSbpI5pxvlXuKB+U2mButF2q2hStBoJcMqug4KvmWhUwTzYI69DyNTdHHd17AIXqkc = X-Google-Smtp-Source: AGHT+IFZqdCV+l+NXA6JRqkrJWS16yHKQiy66Ismr3OQLLP/+L24fXgm1SF9ygC5YDXR5uBRPpRy6A== X-Received: by 2002:a92:cec6:0:b0:362:b454:2ad7 with SMTP id z6-20020a92cec6000000b00362b4542ad7mr6100321ilq.3.1706805000539; Thu, 01 Feb 2024 08:30:00 -0800 (PST) Received: from localhost.localdomain (97-122-68-157.hlrn.qwest.net. [97.122.68.157]) by smtp.gmail.com with ESMTPSA id fj26-20020a056638635a00b00470fe817b91sm380429jab.46.2024.02.01.08.29.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 08:30:00 -0800 (PST) From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [pushed] Fix "objstack" typo Date: Thu, 1 Feb 2024 09:29:53 -0700 Message-ID: <20240201162953.969944-1-tromey@adacore.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Spam-Status: No, score=-11.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org I noticed some comments that mentions "objstack". The type is actually "obstack". This patch fixes the typos. --- gdb/dwarf2/read.c | 2 +- gdb/gdbtypes.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c index ca72cbfb7ff..e873d9cc440 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -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++). */ diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index a48c4c8abf2..2e55a299fe4 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -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