From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 0F50D3851C29 for ; Sun, 14 Mar 2021 07:36:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0F50D3851C29 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49276) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLLIk-0007JF-7z; Sun, 14 Mar 2021 03:36:38 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3598 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lLLIj-0006tG-CY; Sun, 14 Mar 2021 03:36:37 -0400 Date: Sun, 14 Mar 2021 09:36:46 +0200 Message-Id: <83h7legp9t.fsf@gnu.org> From: Eli Zaretskii To: Andreas Schwab Cc: gdb@sourceware.org In-Reply-To: <87h7le42jf.fsf@linux-m68k.org> (message from Andreas Schwab on Sun, 14 Mar 2021 08:28:36 +0100) Subject: Re: Demangling in backtraces References: <83h7loun5e.fsf@gnu.org> <87h7le42jf.fsf@linux-m68k.org> X-Spam-Status: No, score=1.7 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_BARRACUDACENTRAL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Mar 2021 07:36:40 -0000 > From: Andreas Schwab > Cc: Eli Zaretskii > Date: Sun, 14 Mar 2021 08:28:36 +0100 > > > #0 0x70f5ac3e in libgccjit-0!_Z17gimple_build_callP9tree_nodejz () > > Is this prefix part of the symbol name? A valid mangled name must start > with _Z. No, that's the name of the shared library. This is a known peculiarity on Windows, see "Non-debug DLL Symbols" in the GDB manual. Are you saying that if those prefixes weren't there, GDB would have demangled the names automatically?