From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] how to use 9loaddebug From: "Russ Cox" Date: Thu, 7 Jun 2007 04:23:02 -0400 In-Reply-To: <82c890d00706070050k70262102l2b33a137168d4239@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20070607081916.C21D31E8C1C@holo.morphisms.net> Topicbox-Message-UUID: 7a4ea462-ead2-11e9-9d60-3106f5b1d025 > is that the way 9loaddebug should be used or i missed something? 9loaddebug is a copy of 9load that is linked like a regular plan 9 executable, so that it can be used with acid (as shown by the commands that mk 9loaddebug prints). a typical use is when 9load crashes at PC 0x8001023a you run % acid 9loaddebug acid: map({"text", 0x80010000, 0x80090000, 0x00000020}) acid: src(0x8001023a) it is "debug" in the sense that it has debugging information usable by acid. it is not "debug" in the sense that it is a working binary that prints debugging info. you'll need to put the original 9load back in order to boot again (use a plan 9 cd). russ