Discussion:
possible 'info macro' extension
David Taylor
2014-07-28 14:47:38 UTC
Permalink
To expand a macro in a particular context, our GUI used to do something
like:

list <line spec>,<line spec>

or

list *0xaddress

or something similar. And for years that worked fine. Then we upgraded
GDB and it stopped working. Investigating I discovered that the chantge
was deliberate.

Would enhancing 'info macro' from

info macro <MACRO-NAME>
to
info macro [-at <LOCATION>] <MACRO-NAME>

be looked upon favorably?

Loading...