From: Andreas Schwab via Gdb <gdb@sourceware.org>
To: Max Larsson via Gdb <gdb@sourceware.org>
Cc: Max Larsson <max.larsson@gmx.de>
Subject: Re: (unknown)
Date: Thu, 15 May 2025 13:46:39 +0200 [thread overview]
Message-ID: <mvmr00qf65c.fsf@suse.de> (raw)
In-Reply-To: <CAGKMySXgjtxvrUfySTtCU6mQnPf8cdGk1nnbeKRnVwfbQ_ConQ@mail.gmail.com> (Max Larsson via Gdb's message of "Thu, 15 May 2025 12:53:56 +0200")
On Mai 15 2025, Max Larsson via Gdb wrote:
> So if gdb file command is use to read an exe, gdb uses the address for the
> exe as defined in the elf file. So if i disas the _start function
> it show me all the assembler code starting with an address 0x010000054. So
> long everything is fine. Now I tell gdb to set an break point
> on that address and run the exe.
How do you set the breakpoint exactly?
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
next prev parent reply other threads:[~2025-05-15 11:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-15 10:53 Max Larsson via Gdb
2025-05-15 11:46 ` Andreas Schwab via Gdb [this message]
2025-05-15 16:05 ` Breakpoints in shared address space Max Larsson via Gdb
2025-05-16 10:26 ` Andrew Burgess via Gdb
2025-05-16 11:17 ` Max Larsson via Gdb
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=mvmr00qf65c.fsf@suse.de \
--to=gdb@sourceware.org \
--cc=max.larsson@gmx.de \
--cc=schwab@suse.de \
/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