9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@swtch.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] how to use 9loaddebug
Date: Thu,  7 Jun 2007 04:23:02 -0400	[thread overview]
Message-ID: <20070607081916.C21D31E8C1C@holo.morphisms.net> (raw)
In-Reply-To: <82c890d00706070050k70262102l2b33a137168d4239@mail.gmail.com>

> 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



  reply	other threads:[~2007-06-07  8:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-07  7:50 Gabriel Diaz
2007-06-07  8:23 ` Russ Cox [this message]
2007-06-07  9:03   ` Gabriel Diaz
2007-06-07 12:27 ` erik quanstrom
2007-06-07 12:34   ` Gabriel Diaz

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=20070607081916.C21D31E8C1C@holo.morphisms.net \
    --to=rsc@swtch.com \
    --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).