Re: [PATCH] Fix GDB internal error by using text (instead of data) section offset

Florian Weimer via Gdb-patches
2022-01-26T16:45:05Z

* 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