public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: Andrea Cardaci <cyrus.and@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: Function address incoherence
Date: Mon, 26 Aug 2019 06:54:00 -0000	[thread overview]
Message-ID: <8736hoquwb.fsf@oldenburg2.str.redhat.com> (raw)
In-Reply-To: <CACMsj9PVtSb_+1gYAUaQPafUd0A-PDuQT5UpvVUWmOHExzxb=w@mail.gmail.com>	(Andrea Cardaci's message of "Sat, 24 Aug 2019 12:27:09 +0200")

* Andrea Cardaci:

>     00000860 <_dl_rtld_di_serinfo@@GLIBC_PRIVATE-0x83c0>:

Please not the -0x83c0 offset.  The symbol information is not really
helpful, probably due to missing debugging information.

> So where does the _start reported by the disassemble command comes
> from? Is this a GDB bug or I'm missing something here?

Both the main program and the dynamic loader have a _start symbol.  The
GDB behavior you observed is typical for such symbol conflicts.

Thanks,
Florian

  reply	other threads:[~2019-08-26  6:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-24 10:27 Andrea Cardaci
2019-08-26  6:54 ` Florian Weimer [this message]
2019-08-26 10:22   ` Andrea Cardaci
2019-08-26  7:55 ` Andreas Schwab
2019-08-26 10:22   ` Andrea Cardaci
2019-08-26 16:34 ` Christian Biesinger via gdb
2019-08-26 16:50   ` Andrea Cardaci
2019-08-26 17:39     ` Andrea Cardaci

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8736hoquwb.fsf@oldenburg2.str.redhat.com \
    --to=fweimer@redhat.com \
    --cc=cyrus.and@gmail.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).