This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: step through code
- From: Keith Seitz <keiths at redhat dot com>
- To: "Heik H. Hellmich" <hellmich at mikro dot ee dot tu-berlin dot de>
- Cc: insight at sources dot redhat dot com
- Date: Fri, 27 Sep 2002 09:59:05 -0700 (PDT)
- Subject: 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