Subject: Re: unexpected halt of system while trying to print
To: Dave Cherkus <cherkus@homerun.unimaster.com>
From: Chris G. Demetriou <cgd@pa.dec.com>
List: port-alpha
Date: 03/09/1998 16:46:57
> Chris G. Demetriou writes:
> |>
> |> examine -gpr r0
> |>
> |> to get the contents of r0, etc. repeat for r0 -> r30. 8-)
>
> Based on my experience with dunix, the following will print all the
> registers:
>
> >> examine r0
> >> examine -gpr -n 32
Heh. I never thought of trying that!
> The following may be useful as well:
>
> >> examine pc
> >> examine ra
> >> examine sp
The former is interesting, but the latter two should be the same as
r26 and r30, respectively.
> Then:
>
> >> set host 0
> >> crash
>
> if you want a crash dump (not sure what netbsd does when you do this)
I could believe that NetBSD does the right thing, because it sets up
the callbacks so that if you hit the halt switch then continue it
gives you a crash dump.
However, i've never tried it.
cgd