This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB 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]

pending/2542: Re: ARM single step problem with instruction 0xa5ffffeb


>Number:         2542
>Category:       pending
>Synopsis:       Re: ARM single step problem with instruction 0xa5ffffeb
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   unknown
>Arrival-Date:   Wed Oct 22 13:08:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 On Wed, Oct 22, 2008 at 11:41:01AM -0000, julien.lincy@thomson.net wrote:
 > >Description:
 > I have a problem single stepping with a simple C program on ARM, with the instruction 0xa5ffffeb.
 > 
 > 8538:       a5ffffeb        ldrgeb  pc, [pc, #4075]!        ; 952b <__clz_tab+0x6b>
 > 
 > GDB stops with the error "Invalid update to pc in instruction".
 > 
 > The C program i'm trying to test is attached.
 > The ARM I use is an ARM v1136 (a bit specific...).
 
 I think there's something wrong with your environment.  That's not a
 valid instruction; PC is always aligned, so pc+4075 is unaligned.
 The middle of __clz_tab doesn't have function pointers in it.  And you
 can't do PC-relative loads with writeback.
 
 GDB is right to complain about that instruction.
 
 -- 
 Daniel Jacobowitz
 CodeSourcery
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


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