[PATCH v2 1/2] gdb: Implement native dumpcore function

Tom Tromey tom@tromey.com
Wed Jul 29 15:45:40 GMT 2020


>> These macros don't seem that useful to me, and they hide a global
>> variable access... would it be possible to remove them?

Kamil> I have got no preference myself, but preexisting code uses the macros.
Kamil> If you want to remove them, please do it as an independent patch.

I didn't read your patch, but I think it's fine to follow the existing
code here.

Most (maybe all?) of the target_* functions and function-like macros
implicitly use the current target.

Tom


More information about the Gdb-patches mailing list