[PATCH 8/8] Move the frame data to the BFD when possible

Simon Marchi simark@simark.ca
Sat Nov 14 03:31:27 GMT 2020


On 2020-02-08 10:27 a.m., Tom Tromey wrote:
> Now that comp_unit and the remaining frame data are all independent of
> the objfile, it can all be stored on the BFD and shared across
> inferiors.
> 
> As with other code doing this same thing, care must be taken to not
> share the data when the objfile requires relocations.  So, two keys
> are used: one for the BFD and one for the objfile, and
> gdb_bfd_requires_relocations is used to differentiate between the two
> cases.

FYI, there's a regression linked to this patch.

https://sourceware.org/bugzilla/show_bug.cgi?id=26876

Simon



More information about the Gdb-patches mailing list