"qOffset reply?"
Xinan Tang
xinan@TidalNetworks.net
Wed Sep 22 16:55:00 GMT 2004
Hi
You are right. Don't support the command and the stub simply returns
"empty" (not an error). GDB can handle the empty message.
Thanks
--Xinan
-----Original Message-----
From: gdb-owner@sources.redhat.com [mailto:gdb-owner@sources.redhat.com]
On Behalf Of Fabian Cenedese
Sent: Monday, September 20, 2004 1:23 AM
To: gdb@sources.redhat.com
Subject: Re: "qOffset reply?"
> For the remote stub query message "qOffsets", the gdb remote stub is
>supposed to answer "Text=xxx; Data=yyy; Bss=zzz".
>
> However since these three piece of information is the same as
>described in the ELF executable or the symbol table. How can the stub
>reply the GDB such that it doesn't need the stub answer but look into
>the symbol table for the information?
I'm not sure, but I think if you just don't implement this command (and
return
an error), then gdb will use other info.
bye Fabi
More information about the Gdb
mailing list