The following command displays contents of .debug_macro
DWARF section:
$ readelf --debug-dump=macro path/to/binary
or
$ objdump --dwarf=macro path/to/binary
You can also use dwarfdump path/to/binary
, but it's not easy to leave only .debug_macro
section in the output.