From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29180 invoked by alias); 29 Mar 2010 14:32:06 -0000 Received: (qmail 29170 invoked by uid 22791); 29 Mar 2010 14:32:04 -0000 X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,SARE_SUB_OBFU_Q1,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout21.012.net.il (HELO mtaout21.012.net.il) (80.179.55.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 29 Mar 2010 14:32:00 +0000 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0L0100F00SCJXJ00@a-mtaout21.012.net.il> for gdb-patches@sourceware.org; Mon, 29 Mar 2010 17:31:47 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.127.176.135]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L0100DA5SCYNH70@a-mtaout21.012.net.il>; Mon, 29 Mar 2010 17:31:47 +0300 (IDT) Date: Mon, 29 Mar 2010 14:32:00 -0000 From: Eli Zaretskii Subject: Re: PATCH: Add xmlRegisters= to qsupported query In-reply-to: <6dc9ffc81003290713p1529c074ia65ff23d5e9a50be@mail.gmail.com> To: "H.J. Lu" Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83iq8f19nq.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT References: <20100328204807.GA10649@intel.com> <20100328205207.GA11401@intel.com> <20100328234643.GA25607@intel.com> <834ojz3a4d.fsf@gnu.org> <6dc9ffc81003290713p1529c074ia65ff23d5e9a50be@mail.gmail.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-03/txt/msg00988.txt.bz2 > Date: Mon, 29 Mar 2010 07:13:28 -0700 > From: "H.J. Lu" > Cc: gdb-patches@sourceware.org > > >> +target description.  If the stub sees @samp{xmlRegisters=} with > >> +target specfic strings separated by comma, it can send @value{GDBN} > >                                    ^^^^^^^^ > > "by a comma".  Also, what do you mean by "it can send", why "can"? > > I will add `a'. > > > Doesn't it always send the XML description? > > Before XML was enabled on x86, we sent > > "@\ > i386\ > GNU/Linux\ > " > > It isn't the "real" XML target description since it doesn't describe anything. So how about this text instead: If the stub sees @samp{xmlRegisters=} with target specific strings separated by a comma, it will send either an XML target description or an XML stub that states only the architecture and the OSABI. > >> +  /* Tell remote stub that we support XML target description.  */ > >> +  register_remote_support_xml ("x86"); > > > > A possibly dumb question: what effect will this change in i386-tdep.c > > have on i386 targets that don't support remote debugging?  How about > > Did you mean remote.o wasn't linked in? Can that happen? I don't know. The question is, will register_remote_support_xml be always available fro an i386 target? Thanks.