[PATCH v2 00/16] Remove some macros from exec.h and progspace.h

Tom Tromey tom@tromey.com
Mon Oct 19 21:44:13 GMT 2020


This is version 2 of the series to remove the remaining object-like
macros from exec.h and progspace.h.

Version 1 of the series is here

    https://sourceware.org/pipermail/gdb-patches/2020-July/170704.html

This version corrects the review comments, and adds a few more patches
to do so.  Now some "target section"-related functions are methods on
program_space, removing uses of current_program_space and making the
code simpler (IMO) to reason about

Regression tested on x86-64 Fedora 28.

Let me know what you think.

Tom




More information about the Gdb-patches mailing list