public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: hilbert <swdtian@163.com>
To: gdb@sourceware.org
Subject: How is the location of the breakpoint determined and where is it obtained?
Date: Mon, 24 Jul 2023 13:09:18 +0800 (CST)	[thread overview]
Message-ID: <15d3f696.4bf2.189864d47d1.Coremail.swdtian@163.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 246 bytes --]

Hi,


Symbols that can be read from elf files, but we cannot know in advance where they will be loaded. 
After the run command, where does gdb get the exact location of the breakpoint?


I don't get the information I want in gdb, who can help me?

             reply	other threads:[~2023-07-24  5:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-24  5:09 hilbert [this message]
2023-07-26 16:22 ` Tom Tromey

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=15d3f696.4bf2.189864d47d1.Coremail.swdtian@163.com \
    --to=swdtian@163.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).