[PATCH 0/8] Remove object-like target macros
Tom Tromey
tom@tromey.com
Tue Jul 21 01:49:06 GMT 2020
target.h has a number of object-like macros that expand to function
calls, for example
#define target_has_memory target_has_memory_1 ()
This has long seemed confusing to me. This series replaces these
macros either with function-like macros, or with ordinary function
calls.
Other such macros exist in gdb (exec.h and progspace.h hold the ones
I'm aware of). I have a separate series to remove these.
Let me know what you think.
Tom
More information about the Gdb-patches
mailing list