Google
  Web www.spinics.net

RE: Debugging arm exception handler

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


I'd done that  but it'll show 1st exception address. Given sol will work if
there is one exception only.

Regards
Manish

-----Original Message-----
From: Nitin Sharma [mailto:nbsharma@xxxxxxxxx] 
Sent: Tuesday, April 10, 2007 7:57 AM
To: Manish RATHI
Cc: linux-arm@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Debugging arm exception handler

On 4/4/07, Manish RATHI <manish.rathi@xxxxxx> wrote:
> Hi,
> How can I debug cause of an 1st exception if another exception (say 
> data abort) happen inside 1st exception (say undefine exception)?
>

Check R14_abt in your debugger. Subtract 8 (assuming non-thumb mode) from it
and that's the faulting address in the undefined exception handler.



> Thanks
> Regards
> Manish
>
>
> -------------------------------------------------------------------
> List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
> FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
> Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php
>


-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Site Home]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux ARM Kernel]     [Linux MIPS]     [ECOS]     [Tools]     [DDR & Rambus]     [Monitors]

Powered by Linux