From: Florian Weimer via Gdb-patches <gdb-patches@sourceware.org>
To: Kevin Buettner via Gdb-patches <gdb-patches@sourceware.org>
Subject: Re: [PATCH] Fix GDB internal error by using text (instead of data) section offset
Date: Wed, 26 Jan 2022 17:42:38 +0100 [thread overview]
Message-ID: <87y232qwht.fsf@oldenburg.str.redhat.com> (raw)
In-Reply-To: <20220125230429.3329876-1-kevinb@redhat.com> (Kevin Buettner via Gdb-patches's message of "Tue, 25 Jan 2022 16:04:29 -0700")
* Kevin Buettner via Gdb-patches:
> So, what happens if there's no .text section? If that were to
> occur, GDB would be in real trouble elsewhere since a search
> for "text_section_offset" reveals 55 uses of this method, 27
> of which are in DWARF related code.
The probes will always emit code, right? So there should be a text
section.
Thanks,
Florian
next prev parent reply other threads:[~2022-01-26 16:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-25 23:04 Kevin Buettner via Gdb-patches
2022-01-26 16:42 ` Florian Weimer via Gdb-patches [this message]
2022-01-26 18:03 ` Tom Tromey
2022-01-27 17:34 ` Kevin Buettner via Gdb-patches
2022-01-26 20:16 ` Simon Marchi via Gdb-patches
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=87y232qwht.fsf@oldenburg.str.redhat.com \
--to=gdb-patches@sourceware.org \
--cc=fweimer@redhat.com \
/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