dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]#line directives in treecc and gcov/gdb


From: James Michael DuPont
Subject: Re: [DotGNU]#line directives in treecc and gcov/gdb
Date: Sat, 25 Jan 2003 10:10:12 -0800 (PST)

Thanks to gopal
who pointed out the two options

`%option strip_filenames'
     Strip filenames down to their base name in `#line' directives.
     i.e. strip off the directory component.  This can be helpful in
     combination with the `%include %readonly' command when treecc
     input files may processed from different directories, causing
     common output files to change unexpectedly.

`%option no_strip_filenames'
     Don't strip filenames in `#line' directives. (*)

unfortunatly, they dont help.
we need to get rid of the #line directives, as far as I can tell.

mike

--- James Michael DuPont <address@hidden> wrote:
> Hey
> does anyone else have problems with gdb and the #line directives from
> treecc? I am trying to run gcov on the code, 
> and it looks like I will have to hack lots of code to get this
> running:
> none of the gcc tools like .tc files....
> 
> mike
> 
> address@hidden:~/pnet/pnet/cscc$ gcov csharp/cs_semantics.c
> Could not open data file csharp/cs_semantics.da.
> Assuming that all execution counts are zero.
>   0.00% of 460 source lines executed in file cs_semantics.c
> Could not open source file cs_semantics.c.
>   0.00% of 118 source lines executed in file cs_cast.tc
> Could not open source file cs_cast.tc.
>   0.00% of 172 source lines executed in file cs_const.tc
> Could not open source file cs_const.tc.
>   0.00% of 161 source lines executed in file cs_misc.tc
> Could not open source file cs_misc.tc.
>   0.00% of 68 source lines executed in file cs_semantics.tc
> Could not open source file cs_semantics.tc.
>   0.00% of 124 source lines executed in file cs_types.tc
> Could not open source file cs_types.tc.
>   0.00% of 668 source lines executed in file cs_stmt.tc
> Could not open source file cs_stmt.tc.
>   0.00% of 852 source lines executed in file cs_oper.tc
> Could not open source file cs_oper.tc.
>   0.00% of 711 source lines executed in file cs_invoke.tc
> Could not open source file cs_invoke.tc.
>   0.00% of 529 source lines executed in file cs_lvalue.tc
> Could not open source file cs_lvalue.tc.
>   0.00% of 491 source lines executed in file cs_decls.tc
> Could not open source file cs_decls.tc.
> 
> 
> 
> =====
> James Michael DuPont
> http://introspector.sourceforge.net/
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> _______________________________________________
> Developers mailing list
> address@hidden
> http://www.dotgnu.org/mailman/listinfo/developers


=====
James Michael DuPont
http://introspector.sourceforge.net/

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


reply via email to

[Prev in Thread] Current Thread [Next in Thread]