Re: Add entry.S function name to tag file

From: Zhang Le
Date: Wed Jan 18 2006 - 21:40:58 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aneesh Kumar wrote:
> How about a patch like the one attached below. I am not sure
> whether i got the regular expression correct. But it works for me.
>
> -aneesh
>
> ----------------------------------------------------------------------
>
>
> diff --git a/Makefile b/Makefile index 252a659..6c8479e 100644 ---
> a/Makefile +++ b/Makefile @@ -1272,7 +1272,7 @@ define cmd_tags
> CTAGSF=`ctags --version | grep -i exuberant >/dev/null && \
> echo "-I __initdata,__exitdata,__acquires,__releases \ -I
> EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \ -
> --extra=+f --c-kinds=+px"`; \ +
> --extra=+f --c-kinds=+px --regex-asm=/ENTRY\(([^)]*)\).*/\1/f/"`;
> \
what's the meaning of "f"
kind-spec?
But `exuberant-ctags --list-kinds` here shows ASM don't have "f" kind

> $(all-sources) | xargs ctags $$CTAGSF -a endef
>


- --
Zhang Le, Robert
Linux Engineer/Trainer

Institute of Thiz Technology Limited
Address: Unit 1004, 10/F, Tower B,
Hunghom Commercial Centre, 37 Ma Tau Wai Road,
To Kwa Wan, Kowloon, Hong Kong
Telephone: (852) 2735 2725
Mobile:(852) 9845 4336
Fax: (852) 2111 0702
URL: http://www.thizgroup.com
Public key: gpg --keyserver pgp.mit.edu --recv-keys 1E4E2973

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDzvwQvFHICB5OKXMRAun5AJ9R4JxmJHpWDSeMfeWK0uFZrii1IwCgkqPS
PK1yVn5CBm69k5prJXIpllU=
=fMv5
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/