This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: step through code


On Fri, 27 Sep 2002, Heik H. Hellmich wrote:

> (gdb) s
> Single stepping until exit from function _start,
> which has no line number information.
> cpu 1, cia 0xfffff1cc: program interrupt - privileged instruction
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The simulator thinks you've attempted to execute a privileged instruction, 
and threw an exception:
 
> Program terminated with signal ?, Unknown signal.
> The program no longer exists.
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The default reaction was to kill the simulator process. There are two 
problems here:

1) Insight was not notified that an exception occurred. (It would have 
popped up a dialog telling you that an exception occurred.)
2) Either the sim or the executable has a bug concerning this privileged 
instruction. How did you compile your executable (linker scripts, 
libraries, etc)?

I'll look at #1, but #2 may require outside help if it is more than just a 
build error.

Keith


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]