From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] stepping in acid
Date: Thu, 20 Dec 2007 16:00:27 -0500 [thread overview]
Message-ID: <6904152cee8a9d6a7926dd85723f7372@quanstro.net> (raw)
In-Reply-To: <09cf28590aa887e630ceb4dcc8217716@csplan9.rit.edu>
sorry for the noise. silly me. i cut and paste
EOT.
minooka; cat > sleep.c
#include<u.h>
#include<libc.h>
void
main(void)
{
int i;
for(i = 0; i < 100; i++)
sleep(2000);
exits("");
}
<EOT>minooka; 8c sleep.c
minooka; 8l sleep.8
minooka; 8.out &
minooka; acid $apid
/proc/111181/text:386 plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/386
acid: lstk()
sleep()+0x7 /sys/src/libc/9syscall/sleep.s:5
main()+0x1b /usr/quanstro/sleep.c:10
i=0x5
_main+0x31 /sys/src/libc/386/main9.s:16
acid: pc
<stdin>:3: (error) pc used but not set
acid: PC
0x00000038
acid: src(*PC)
no source for /sys/src/libc/9syscall/sleep.s
- erik
next prev parent reply other threads:[~2007-12-20 21:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-20 20:53 john
2007-12-20 20:58 ` erik quanstrom
2007-12-20 20:58 ` erik quanstrom
2007-12-20 21:00 ` erik quanstrom [this message]
2007-12-20 21:02 ` Brantley Coile
2007-12-20 21:10 ` Skip Tavakkolian
2007-12-20 21:13 ` john
2007-12-20 21:29 ` Axel Belinfante
2007-12-20 23:12 ` Joel C. Salomon
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=6904152cee8a9d6a7926dd85723f7372@quanstro.net \
--to=quanstro@quanstro.net \
--cc=9fans@cse.psu.edu \
/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;
as well as URLs for NNTP newsgroup(s).