From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 124654 invoked by alias); 26 Aug 2019 17:39:03 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 124645 invoked by uid 89); 26 Aug 2019 17:39:02 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*f:sk:CACMsj9, H*i:sk:CACMsj9, H*f:sk:rZNCboO, H*i:sk:rZNCboO X-HELO: mail-io1-f52.google.com Received: from mail-io1-f52.google.com (HELO mail-io1-f52.google.com) (209.85.166.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 26 Aug 2019 17:39:01 +0000 Received: by mail-io1-f52.google.com with SMTP id o9so39290453iom.3 for ; Mon, 26 Aug 2019 10:39:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RCY7YBBoZjqgKhlzrp6RMiAHryNDfRpjrnGbXt27NSo=; b=EXjxWHYzAScm8YHQFU6rAeGsJ2308N/XeBEIwDI18WEuM7R20TkKD4PUhuEz8t4mnm J+AXlTfQuwd4TUlE2nVij/AqBcNity9rzOxmlPwCXWLr1e3uU9YZ4Hm3xFuKQlG9n9LC JyI4k0zBl4OfaZ49/rpSjozWYi1fQhs4EFC21DlcqsdN7BNFmB/8A/S5lmhJY42v8BBC s5++7M+typhUm02rFLuG8Z5w6xMIE0CF0j4FvxhWil9qHmY79706pCFpnmwirE4xuuaK +D8P4CkoUx029jEbXp6FWYOHnr4+iXUF25SOsue+2/GRX1bsBbht9iQONlmKJmfMBaOt bqAA== MIME-Version: 1.0 References: In-Reply-To: From: Andrea Cardaci Date: Mon, 26 Aug 2019 17:39:00 -0000 Message-ID: Subject: Re: Function address incoherence To: Christian Biesinger Cc: gdb@sourceware.org Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2019-08/txt/msg00045.txt.bz2 On Mon, 26 Aug 2019 at 18:50, Andrea Cardaci wrote: > This actually seems a good idea and I can't remember why I didn't end > up using that, let me try... Right, GDB does not always return symbol information, for example, in the original use case frame.function() is None, yet GDB knows the current function and its boundaries (according to disassemble and print $pc).