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: gdbserver, remote serial protocol and endian issues


> In our case, the registers are not byte addressable
>> and need to be written variously as 8, 16 and 32 bit
>> quantities. Again, remote serial protocol does not
>> provide for access size definition.

I assume you mean something like a memory read at &foo only works if 
done as a 16 bit operation by the remote target.

> This one is definitely a shortcoming in the remote protocol.

Proposals for an extension to the protocol that implement this have been 
posted (search for e-mail from jtc).  The memory attribute framework was 
introduced in preparation for this.

enjoy,
Andrew


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