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:10:28 -0500 From: Skip Tavakkolian <9nut@9netics.com> In-Reply-To: <63254c69144bd94e6dd44fa83c65a68b@coraid.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 1edd7b84-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 {}; } } }