This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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: Application receives SIGILL


On 03/13/2013 05:01 PM, OBD wrote:
> 
> 
> On 13 March 2013 17:20, Andrew Haley <aph@redhat.com <mailto:aph@redhat.com>> wrote:
> 
>     On 03/13/2013 10:33 AM, OBD wrote:
>     >
>     > Can somebody help me what is the problem over here? I don't seem to
>     > find any issue with the code.
> 
>     What is the faulting insn?
> 
>     x/i $pc
> 
> 
> Sorry I didn't quite understand your response. Can you kindly elaborate what you are trying to say?

In GDB, at the point of the SIGILL, type:

x/i $pc

Andrew.


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