From: Randy Barlow <randy@electronsweatshop.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] OT - Is there a gcc-4.1.1 alternative?
Date: Sat, 13 Jan 2007 12:29:09 -0500 [thread overview]
Message-ID: <200701131229.09898.randy@electronsweatshop.com> (raw)
In-Reply-To: <1168699369.14521.15.camel@camille.espersunited.com>
On Saturday 13 January 2007 09:42, Michael Sullivan wrote:
> This strace doesn't help me much. What does "attached" mean, anyway?
I don't know what the problem is, but I can tell you that strace "attaches" to
a process meaning that it begins to watch the process to see what system
calls it is making. If the process doesn't make any system calls, then you
won't see anything with strace. For example,
#define BIG_NUMBER 4e15
main () {
long x;
for(int i=0; i<BIG_NUMBER; i++)
x+=i;
}
When this small program is in the loop, it will not be making any system calls
(i.e., no output/input or other system calls) so it will be a very busy
process but it won't show anything in strace. Hope that answers your
question!
--
Randy Barlow
http://www.electronsweatshop.com
"Oh me of little faith..."
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2007-01-13 17:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-13 14:42 [gentoo-user] OT - Is there a gcc-4.1.1 alternative? Michael Sullivan
2007-01-13 16:10 ` [gentoo-user] " James
2007-01-13 17:29 ` Randy Barlow [this message]
2007-01-13 20:45 ` [gentoo-user] " Hans-Werner Hilse
2007-01-13 19:06 ` Bo Ørsted Andresen
2007-01-13 23:05 ` John Blinka
2007-01-14 7:39 ` PaulNM
2007-01-14 16:47 ` Dan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200701131229.09898.randy@electronsweatshop.com \
--to=randy@electronsweatshop.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox