Re: [PATCH v2 1/1] gdb: Preserve IFUNC marker when finding inferior functions
Florian Weimer <[email protected]> Tue, 21 Jul 2026 21:45:12 +0200
| Newsgroups | gmane.comp.gdb.patches |
|---|---|
| Message-ID | <[email protected]> |
* Tom Tromey: >>>>>> "Florian" == Florian Weimer <[email protected]> writes: > > Florian> Does GDB ever free the copy of the literal? > > No. I think there's a bug open about this but it's never seemed > important to fix. This is perhaps the main reason for using malloc? The proper lifetime of the literal is unclear, so it can never be deallocated, and using malloc at least avoids wasting a full page? Thanks, Florian