This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Problems with load
----- Original Message -----
To: "Hylla, Kai" <hylla.k@atlas.de>
Cc: <gdb@sources.redhat.com>
Sent: Thursday, August 28, 2003 4:12 PM
Subject: Re: Problems with load
> > Hi!
> >
> > The sections are loaded. The error is not, that a hole section isn't
> > loaded. Instead contain the loaded sections byte errors. It seems that
> > some bytes aren't written. The debug messages are all OK.
> >
> > As I said before <set *(char*)> and <set *(short*)> aren't working
> > either.
> >
> > One of the load debug messages is :
> >
> > Sending packed: $x14000d4,314:8\000[snip] where
> > X14000d4 is the address where the data is written to and
> > 314 is the size of the block which will be written, right?
> >
> > Is there a possibility to change the minimum block size? I.e. limit it
> > to 4 bytes? I think that this will solve the problem...
> > It seems that the target can't handle packages who write data where the
> > data isn't 4 Byte aligned.
This packet is aligned on 4 bytes so that can't be the problem.
Can you read the memory back and does it look OK? What errors
are reported when you try to write a byte or short? OcdLibRemote
will print some errors that it sees.
Pete.
Pete.