This is the mail archive of the gdb@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]

Re: gdbserver 7.1 unable to read registers


On Mon, Sep 27, 2010 at 12:25:38PM +0200, Steffen Dettmer wrote:
> I do not see an XML warning message when gdb tries to connect,
> but I have a problem with "call" in remote debugging
> (arm-elf-nonlinux-gdb-7.20):
> 
>   (gdb) p strlen("")
>   Could not write register "cpsr"; remote failure reply 'E00'
>   An error occurred while in a function called from GDB.
>   Evaluation of the expression containing the function
>   (malloc) will be abandoned.
>   When the function is done executing, GDB will silently stop.
> 
> Could this be caused by missing expat support, or would I
> definitely see a XML warning message in case?

No, this will not be related.  GDB always warns if it needs XML but
doesn't have expat.

This looks like a problem with your remote stub, specifically, what it
says on the cover: failed to write to cpsr.

-- 
Daniel Jacobowitz
CodeSourcery


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