From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 666 invoked by alias); 4 Feb 2010 21:09:46 -0000 Received: (qmail 658 invoked by uid 22791); 4 Feb 2010 21:09:46 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from fg-out-1718.google.com (HELO fg-out-1718.google.com) (72.14.220.156) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 04 Feb 2010 21:09:42 +0000 Received: by fg-out-1718.google.com with SMTP id e12so88792fga.12 for ; Thu, 04 Feb 2010 13:09:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.90.70 with SMTP id d48mr887928wef.159.1265317779553; Thu, 04 Feb 2010 13:09:39 -0800 (PST) In-Reply-To: <6dc9ffc81002041306u18ce24bapaa101db921302da8@mail.gmail.com> References: <6dc9ffc81002041236v1d331589k9e6d748c8a1a7b0@mail.gmail.com> <20100204204739.GA6741@caradoc.them.org> <6dc9ffc81002041306u18ce24bapaa101db921302da8@mail.gmail.com> Date: Thu, 04 Feb 2010 21:09:00 -0000 Message-ID: <6dc9ffc81002041309u7d58f4fcj8032f67c89b24a83@mail.gmail.com> Subject: Re: How to load XML target description? From: "H.J. Lu" To: "H.J. Lu" , GDB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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-02/txt/msg00137.txt.bz2 On Thu, Feb 4, 2010 at 1:06 PM, H.J. Lu wrote: > On Thu, Feb 4, 2010 at 12:47 PM, Daniel Jacobowitz = wrote: >> On Thu, Feb 04, 2010 at 12:36:35PM -0800, H.J. Lu wrote: >>> and in gdb I got >>> >>> (gdb) target remote :10000 >>> Remote debugging using :10000 >>> warning: while parsing target description (at line 14): Could not load >>> XML document "32bit-core.xml" >>> warning: Could not load XML target description; ignoring >>> Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found).= ..done. >>> Loaded symbols for /lib/ld-linux.so.2 >>> 0x0042e850 in _start () from /lib/ld-linux.so.2 >>> (gdb) help set >>> >>> 32bit-core.xml is in my gdb source tree and not installed by "make inst= all". How >>> do I resolve this? >> >> See srv_xmlfiles in gdbserver/configure.srv. =A0GDB expects to get the >> file over the remote protocol. >> > > I set srv_xmlfiles in gdbserver/configure.srv and I saw gdbserve get > > handling possible serial event > getpkt ("qXfer:features:read:32bit-core.xml:0,fff"); =A0[no ack sent] > putpkt ("$E00#a5"); [noack mode] > > For some reason, it wouldn't read the file and send it to gdb. Any sugges= tions? > > Thanks. I see what is wrong. --=20 H.J.