Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Another illegal instruction awk problem



On Aug 6, 2010, at 4:07 AM, Martin Husemann wrote:

> On Thu, Aug 05, 2010 at 10:18:58PM +0200, Anders Magnusson wrote:
>> It sounds very likely that an emulated instruction is the problem.
>> The kernel pages containing the emulate code are mapped RO for
>> user, and the emulate code will switch back to the User process
>> after a trap and execute the emulate code as the user.
> 
> Interesteing. So the next step would be
> 
>   gdb /netbsd
> 
> (or if you have a netbsd.gdb variant preferably that)
> 
> and x/i the pc value?

Actually, the next step is dump the stack to find the exception frame.

(gdb) x/32x $sp




Home | Main Index | Thread Index | Old Index