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: "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




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