RE: [U-Boot-Users] Patch to show address definition based on file /line number with e xtra flags in the nm command

I did that to setup C scope database from u-boot-1.1.2. Now I go to cpu/mpc860 and in fec.c a global typedef bd_t is passed as a parameter. Now I do cscope to find the definition of this symbol and it cannot find the symbol. I don't find a global CSCOPE_DB environment variable definition in the man page which tells to where to start the csope search. This is RH 9.0.
If you can tell me about some workaround or I should ask cscope mailing List. I just downloaded cscope a few days back.
Thanks,
Atul
-----Original Message----- From: Frank [mailto:frannk_m1@yahoo.com] Sent: Wednesday, October 19, 2005 7:54 PM To: Sabharwal, Atul; u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] Patch to show address definition based on file/line number with e xtra flags in the nm command
at the top level directory: find . -name "*.[sSch]" -print >cscope.files
--- atul.sabharwal@exgate.tek.com wrote:
This is a nit but instead of tracing code using cscope/ctags or fgrep, this method Makes code tracing lot quicker. Unless you have an IDE :)
I have used cscope but have not been able to search symbols at a top level Directory from a directory N level deep. Any tips appreciated.
--- /login/asabharw/lxhome/u-boot-1.1.3/Makefile 2005-08-13 16:53:35.000000000 -0700 +++ Makefile 2005-10-17 18:59:37.000000000 -0700 @@ -194,7 +194,7 @@ ( -name CVS -prune ) -o ( -name '*.[ch]' -print )`
System.map: u-boot
@$(NM) $< | \
grep -v '(compiled)|(.o$$)|( [aUw]$(NM) -A -l $< | \
)|(..ng$$)|(LASH[RL]DI)' | \ sort > System.map
This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
__________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/
participants (1)
-
atul.sabharwal@exgate.tek.com