This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: "qOffset reply?"
- From: "Xinan Tang" <xinan at TidalNetworks dot net>
- To: "Fabian Cenedese" <Cenedese at indel dot ch>,<gdb at sources dot redhat dot com>
- Date: Wed, 22 Sep 2004 09:55:30 -0700
- Subject: RE: "qOffset reply?"
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