04-12-2010
Quote:
Originally Posted by
uunniixx
If that so then how does code coverage tools / testing tools implement their functionality.
Sorry, I didn't see your reply.
They didn't need to modify gcc at all to get debug info from it. These tools understand gcc's own debugging information, which it embeds in objects and executables when given the -ggdb flag. "gdb" comes from "the GNU Debugger"; again, this is what things like debuggers are for.
10 More Discussions You Might Find Interesting
1. Programming
Can someone help me debug a c program I am running? It gives me segmentation fault.
I want to turn on debugging. Can some one give the command to turn it on?
Below is the error I get:
Segmentation Fault (core dumped) (3 Replies)
Discussion started by: ibeg
3 Replies
2. Shell Programming and Scripting
Hi
My five script run throgh crontab at same time at 6 clock.
Due to problem in the data load .Now I want to check time of load finish run these jobs. I create a script which check the load finish time but I have no idea how I run these JObs. This is very urget to me. Please reply me as soon... (3 Replies)
Discussion started by: Jamil Qadir
3 Replies
3. Shell Programming and Scripting
Hi!
I need to run my script for a specific number of time, as specified by the user: For instance, if the user specified 10, my script should run for until 10 seconds expire. How do I do this? (0 Replies)
Discussion started by: looza
0 Replies
4. Shell Programming and Scripting
Hello guys, I am new at shell scripting and I want to create a script that runs several commands at a time, ie: uptime, w, df -h and so on and send the output of this commands to a text file so it can be send via email at a certain time using crontab.
Any help will be much appreciated! (4 Replies)
Discussion started by: agasamapetilon
4 Replies
5. Shell Programming and Scripting
how to find when last time a scrit has ran? (7 Replies)
Discussion started by: RahulJoshi
7 Replies
6. AIX
Hello all,
I need to find, what time a particular command was run in one of our AIX box. In our environment, we use 'powerbroker' to login as root and there are so many people who use this. I tried history command, which shown me similar to below:
406 ls -l | *user*
407 ls -l... (1 Reply)
Discussion started by: gsabarinath
1 Replies
7. Solaris
I have installed IBM Java Runtime V1.4.2 in solaris. but when i give java -version, it gets me this:java version "1.5.0_20"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_20-b02)
Java HotSpot(TM) Client VM (build 1.5.0_20-b02, mixed mode, sharing)
can you please tell me how do i... (3 Replies)
Discussion started by: ichwaiznicht
3 Replies
8. Shell Programming and Scripting
Hi all,
I want to check a log file that gets updated very frequently, almost every second. What I want to do from a script is to check this log file
1) for a particular string
2) for a specified time
while it is getting updated. And as soon as it finds that particular string the command... (4 Replies)
Discussion started by: pat_pramod
4 Replies
9. Shell Programming and Scripting
Hi ,
I am greping a keyword in all sql files in Solaris and Linux.
Solaris
bash-3.00$ time grep -iwc BEN_STARTUP_LERS_TL084701_WHO *.sql
Load__v20130719-prod.sql:0
Load__v20130719-prod.sql:0
Load__v20130719-prod.sql:0
Load__v20130719-prod.sql:0
Load__v20130719-prod.sql:0... (4 Replies)
Discussion started by: millan
4 Replies
10. Shell Programming and Scripting
I have an ETL process that triggers a shell script. This script picks the files created by the ETL process and does an SFTP. These are huge files. Due to infrastructure limitations, we need to trigger the actual SFTP part only during the 2nd, 16th, 31st and 46th minute of an hour. Please let me... (2 Replies)
Discussion started by: vskr72
2 Replies
atscc(1) General Commands Manual atscc(1)
NAME
atscc - ATS compiler frontend
SYNOPSIS
atscc [options] files...
DESCRIPTION
atscc is a frontend to the atsopt Anairiats compiler for the ATS language.
OPTIONS
atscc has a command-line option syntax in the style of gcc and accepts all the same options, many of them being passed directly to the gcc
backend. Here are summarized the non-gcc options.
-cc, --compile
Only compile the given ATS source files into C files.
-D_ATS_GCATS
Enable the garbage collector in the generated executable.
-IATS <path>
Add a path to search for ATS files when doing static and dynamic loads.
-tc, --typecheck
Typecheck the given ATS source files, but go no further.
--version
Show ATS/Anairiats version and gcc version.
EXAMPLES
atscc -o test -O3 test.dats
Compile test.dats to an executable named test. Tell gcc to use the third level of optimization.
atscc -tc test.dats
Typecheck test.dats only.
atscc -o test.o -c test.dats
Compile test.dats to an object file named test.o.
SEE ALSO
atsopt(1), atslex(1),
These programs are documented fully by The ATS/Anairiats user's manual available via the web at http://www.ats-lang.org/
AUTHOR
atscc was written by Hongwei Xi.
This manual page was written by Matthew Danish <mrd@debian.org>, for the Debian project (and may be used by others).
February 22, 2010 atscc(1)