After discussion with the gcc folks, it seems that there is an easier and much simpler solution, which I'm attaching. J' On Fri, Sep 07, 2018 at 03:50:00PM -0600, Tom Tromey wrote: >>>>> "John" == John Darrington writes: John> * include/dwarf2.h (enum dwarf_unit_type) [DE_EH_PE_udata3]: New member. John> --- John> include/dwarf2.h | 1 + John> 1 file changed, 1 insertion(+) I'm afraid I didn't look at the earlier discussion of this. dwarf2.h is canonically maintained in the gcc repository. So, any change here has to be sent to gcc-patches and be committed there first. Then the patch can be applied to gdb -- this counts as obvious (IMO). Tom -- Avoid eavesdropping. Send strong encrypted email. PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key.