From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rock.gnat.com (rock.gnat.com [205.232.38.15]) by sourceware.org (Postfix) with ESMTP id DF77E384C005 for ; Tue, 28 Jul 2020 17:47:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org DF77E384C005 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey@adacore.com Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id BF965116B30; Tue, 28 Jul 2020 13:47:09 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at gnat.com Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 60c+DfgluiEy; Tue, 28 Jul 2020 13:47:09 -0400 (EDT) Received: from murgatroyd (174-16-104-48.hlrn.qwest.net [174.16.104.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by rock.gnat.com (Postfix) with ESMTPSA id 6FA4A11688D; Tue, 28 Jul 2020 13:47:09 -0400 (EDT) From: Tom Tromey To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] Demangle function names when disassembling References: <20200723161043.2191184-1-tromey@adacore.com> X-Attribution: Tom Date: Tue, 28 Jul 2020 11:47:08 -0600 In-Reply-To: <20200723161043.2191184-1-tromey@adacore.com> (Tom Tromey's message of "Thu, 23 Jul 2020 10:10:43 -0600") Message-ID: <871rkv5y77.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_BARRACUDACENTRAL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2020 17:47:10 -0000 Tom> gdb/ChangeLog Tom> 2020-07-23 Tom Tromey Tom> PR symtab/26270: Tom> * symtab.h (find_pc_partial_function_sym): Declare. Tom> * cli/cli-cmds.c (disassemble_command): Use Tom> find_pc_partial_function_sym. Check asm_demangle. Tom> * blockframe.c (cache_pc_function_sym): New global. Tom> (cache_pc_function_name): Remove. Tom> (clear_pc_function_cache): Update. Tom> (find_pc_partial_function_sym): New function, from Tom> find_pc_partial_function. Tom> (find_pc_partial_function): Rewrite using Tom> find_pc_partial_function_sym. I'm checking this in now. Tom