This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: gdb 5.3 problem in ARM simulator


I suspect that all of these problems stem from the fact that GDB is using 
the wrong method for resetting the PC. Instead of setting state->Reg[15] 
directly or using ARMul_SetReg() it should be using ARMul_SetR15() as the 
RDI interface does.  Then both your and Nick's previous change shouldn't 
be needed.

However, I haven't tested any of this, it's just an observation I made 
when looking over the source code one day.

R.


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