GDB reading eh_frame/eh_frame_hdr from disk

Jan Kratochvil jan.kratochvil@redhat.com
Mon Jun 22 18:20:27 GMT 2020


On Mon, 22 Jun 2020 20:17:47 +0200, Simon Marchi wrote:
> Ah, I guess it's because these sections are read by dwarf/read.c from the BFD
> directly, these reads don't pass through target_ops?

Yes, it just cannot work.  IIRC I was implementing into elfutils extra code
path to decode eh_frame from program headers (instead of section headers which
are not available in memory) for deleted debuggees.


Jan



More information about the Gdb mailing list