From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] stepping in acid Date: Thu, 20 Dec 2007 16:13:57 -0500 From: john@csplan9.rit.edu In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 1ee64bf6-ead3-11e9-9d60-3106f5b1d025 >>> 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