From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9D89A3858409; Fri, 30 Dec 2022 12:55:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9D89A3858409 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1672404928; bh=PSHg54AzJRuPSy5QabHAwJ1RNHSeTbesY5JwwFVYZ5s=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Fi5BsWCViv2co0IodE941DyyePmPt8w1yrqPAqS2zRP7R3Zt6vth4JyG7B8/0RgHx XvJoybrdkTWiewjHU4A818IWi6MJRWr5z03yM/PhcaZHm158UGleIBMVWXFfK4WkOF ZdCJVJ17Lr6LROA5Ahe3IoIrEQ7a3A2F/AKSjaJA= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug symtab/29343] [gdb/symtab] c++-ify comp_unit_head Date: Fri, 30 Dec 2022 12:55:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tromey at sourceware dot org X-Bugzilla-Target-Milestone: 14.1 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29343 --- Comment #10 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Tom de Vries : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Dd8f52a9a9ccb= f7411cf4ae487d2756826f5d0bd5 commit d8f52a9a9ccbf7411cf4ae487d2756826f5d0bd5 Author: Tom de Vries Date: Fri Dec 30 13:55:22 2022 +0100 [gdb/symtab] Make comp_unit_head.length private Make comp_unit_head.length private, to enforce using accessor functions. Replace accessor function get_length with get_length_with_initial and get_length_without_initial, to make it explicit which variant we're usi= ng. Tested on x86_64-linux. PR symtab/29343 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29343 --=20 You are receiving this mail because: You are on the CC list for the bug.=