illegal instruction (CPU mismatch)

Richard Earnshaw (lists) Richard.Earnshaw@arm.com
Tue Sep 20 10:06:00 GMT 2016


On 20/09/16 10:54, Mahmood Naderan wrote:
>> In these circumstances 'x/i $pc' may be your friend, it will just try to
> 
> disassemble the exact instruction at the current PC.
> 
> What does that mean? I didn't understand... Can you explain more? Which command should I use in order to catch the illegal instruction
> 

It's a gdb command.  Run it in the debugger after the program has
stopped (or once you've loaded the core file).

R.



More information about the Gcc-help mailing list