From: john@csplan9.rit.edu
To: 9fans@cse.psu.edu
Subject: Re: [9fans] stepping in acid
Date: Thu, 20 Dec 2007 16:13:57 -0500 [thread overview]
Message-ID: <cf06d7a4b16c6a0c2fc02d0d9b0b95ca@csplan9.rit.edu> (raw)
In-Reply-To: <b40c89e1616bea7b65cec09df6624e27@9netics.com>
>>> I notice that the step() command in acid steps you by machine
>>> instructions rather than C statements. While this is probably
>>> useful in some cases, in my case I need to see what line of
>>> C I am executing. Can somebody show me how to do this?
>>> Thanks
>>>
>>> John
>>
>> stmnt()
>
> acid is a beauty. here's the definition from /sys/lib/acid/port
>
> defn stmnt() // step one statement
> {
> local line;
>
> line = pcline(*PC);
> while 1 do {
> step();
> if line != pcline(*PC) then {
> src(*PC);
> return {};
> }
> }
> }
This looks like the thing I want; thanks everyone!
John
next prev parent reply other threads:[~2007-12-20 21:13 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
2007-12-20 21:02 ` Brantley Coile
2007-12-20 21:10 ` Skip Tavakkolian
2007-12-20 21:13 ` john [this message]
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=cf06d7a4b16c6a0c2fc02d0d9b0b95ca@csplan9.rit.edu \
--to=john@csplan9.rit.edu \
--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).