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

Not really. You could combinations of:


(gdb) set remote X-packet off
(gdb) set download-write-size <something>

It seems that the target can't handle packages who write data where the
data isn't 4 Byte aligned.

Ah. That doesn't leave GDB with much it can do :-(


I'm not sure how complete the "mem" command is.

Andrew



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