From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97904 invoked by alias); 26 Aug 2019 10:22:31 -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 97894 invoked by uid 89); 26 Aug 2019 10:22:31 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:486, HX-Received:a6b, H*i:sk:8736hoq, H*f:sk:8736hoq X-HELO: mail-io1-f44.google.com Received: from mail-io1-f44.google.com (HELO mail-io1-f44.google.com) (209.85.166.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 26 Aug 2019 10:22:30 +0000 Received: by mail-io1-f44.google.com with SMTP id z3so36056033iog.0 for ; Mon, 26 Aug 2019 03:22:30 -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=5AGvffvf1u5Z9J2Tn0JZy1Ofqg6sYj52oZuTEjD/6qw=; b=ki1ZymnxWAGZ3jjYgcFqjf2Ch2jKnb/iUXqTpHv7ZrJcxgIQdVW2XPdyFsoP1sbZoH nPctU7ItCEJk646h/xVgEyT0X/s7Kh9O3evpIlSq6N+LyN2rxKRVh0ImocauJNZvTxaZ TJZmCUwpn1zivs8Bec5g24GqzfSlet/UMvz9N1h/Slm3seRfJOPFPvP5Hh54YosrLZD/ zPzY2fE8jVR/rDxNtGAeNhA2qn5nJQVp5nwjF0TgGE0bcUSIAxnF4climvxKts+d8yua PSpN13QCB1WmtFS4FOywDfd4r2cPOfUMRn+TYwH8hHwNcNnLf5UYuqBNghgLF6EHpTj+ nLdQ== MIME-Version: 1.0 References: <8736hoquwb.fsf@oldenburg2.str.redhat.com> In-Reply-To: <8736hoquwb.fsf@oldenburg2.str.redhat.com> From: Andrea Cardaci Date: Mon, 26 Aug 2019 10:22:00 -0000 Message-ID: Subject: Re: Function address incoherence To: Florian Weimer Cc: gdb@sourceware.org Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2019-08/txt/msg00039.txt.bz2 On Mon, 26 Aug 2019 at 08:54, Florian Weimer wrote: > Please not the -0x83c0 offset. The symbol information is not really helpful, probably due to missing debugging information. How can GDB then come up with _start then? > Both the main program and the dynamic loader have a _start symbol. How can I figure out that the dynamic loader have a _start symbol? AFAIK there is none, I've checked with objdump, readelf, radare, etc.