gdb
[Top][All Lists]
Advanced

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

Re: [Gdb] Privileged Instruction Program Interrupt


From: Clark L. Coleman
Subject: Re: [Gdb] Privileged Instruction Program Interrupt
Date: Thu, 5 Feb 2004 10:40:13 -0500 (EST)

> 
> Clark,
> 
> Thanks for responding.
> 
> I am running under a Cygwin environment within Windows. I am loading an
> image which I built for one of our products that is hosted by a PowerPC. I
> am not trying to get into the privileged state of the host processor, so I
> don't see why it should care. We have done the same thing for one of our
> other products which is hosted by a MIPS processor.
> 
> Are you using gdb to debug native applications or target applications?
> 
> Hans

I was running native applications (compiling and debugging DOS
applications under DOS).  No cross-compiling was involved.

Perhaps GDB needs to be built for the PowerPC with knowledge of each
opcode, and the privileged opcodes were not part of the machine
description file it uses, because it would not be possible to debug a
native PowerPC application in that fashion, and the designers failed
to anticipate the possibility of cross-platform emulation.  That is
pure speculation on my part, and not too likely, I guess.

Clark Coleman




reply via email to

[Prev in Thread] Current Thread [Next in Thread]