Subject: Re: Hooray!
To: None <port-vax@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-vax
Date: 05/07/2007 01:58:55
> so I went tracing trough read() with "stepi" (is there some way to
> get gdb to show the next machine instruction after each stepi?
> instead it shows the next C line which is rather useless)

(gdb) define si
...
>stepi
>x/i $pc
>end

then use si instead of stepi.  (I conjecture that this sort of hack is
why both si and stepi exist.)

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B