possible 'info macro' extension

David Taylor dtaylor@emc.com
Mon Jul 28 14:48:00 GMT 2014


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?



More information about the Gdb mailing list