From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0141F3858423; Sun, 19 Sep 2021 02:14:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0141F3858423 From: "simark at simark dot ca" To: gdb-prs@sourceware.org Subject: [Bug build/28344] How to build the gdb with debugging symbols? Date: Sun, 19 Sep 2021 02:14:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simark at simark dot ca X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution cc 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Sep 2021 02:14:11 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28344 Simon Marchi changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED CC| |simark at simark dot ca --- Comment #2 from Simon Marchi --- Let's try to be a bit more helpful here: like most other software using an Autoconf configure script, pass the required flags in the CFLAGS and CXXFLA= GS variables (since GDB is a mix of C and C++, you need both). For example: $ path/to/configure CFLAGS=3D"-g3 -O0" CXXFLAGS=3D"-g3 -O0" --=20 You are receiving this mail because: You are on the CC list for the bug.=