This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdb-h8-stub
On Thu, Jul 18, 2002 at 11:25:50AM -0700, Alexei Minayev wrote:
> Hi Daniel,
>
> thanks for clarification.
> My question is though, after sending an absolute start address with the 'X'
> command, and getting rejected, the gdb doesn't replicate it with 'M' command.
> The 'M' command has only relative addresses...
>
> X200000
> M0,15:... ; (this would actually mean 0x200000 to 0x200015)
> M15,15:...
> M30,15:...
> ...
>
> So according to this, the stub *must* read the address from the X command and
> store it for future memory operations, even if it doesn't support binary
> downloads.
> In your opinion, is that what gdb means?
No, what I'm trying to say is that that's the wrong behavior for the
client. You'll need to figure out why GDB is doing this.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer