How to find macro defination in source code ?
Michael Ellerman
michael at ellerman.id.au
Sat Jun 19 15:52:22 EST 2010
On Sat, 2010-06-19 at 00:47 +0800, wilbur.chan wrote:
> For example, a macro in serial driver 8250.c , SERIAL_PORT_DFNS ,I
> can't find where it is implement.
It looks to be in 8250.c, so I don't know why you can't find it.
> Is there any solutions to find a macro defination in code ?
# make tags
# vi -t SERIAL_PORT_DFNS
Or in general:
http://ctags.sourceforge.net/
cheers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20100619/32ebc86e/attachment.pgp>
More information about the Linuxppc-dev
mailing list