From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32373 invoked by alias); 4 Feb 2010 21:06:20 -0000 Received: (qmail 32363 invoked by uid 22791); 4 Feb 2010 21:06:19 -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 mail-ww0-f41.google.com (HELO mail-ww0-f41.google.com) (74.125.82.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 04 Feb 2010 21:06:14 +0000 Received: by wwb29 with SMTP id 29so342546wwb.0 for ; Thu, 04 Feb 2010 13:06:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.153.208 with SMTP id f58mr944398wek.36.1265317569462; Thu, 04 Feb 2010 13:06:09 -0800 (PST) In-Reply-To: <20100204204739.GA6741@caradoc.them.org> References: <6dc9ffc81002041236v1d331589k9e6d748c8a1a7b0@mail.gmail.com> <20100204204739.GA6741@caradoc.them.org> Date: Thu, 04 Feb 2010 21:06:00 -0000 Message-ID: <6dc9ffc81002041306u18ce24bapaa101db921302da8@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/msg00136.txt.bz2 On Thu, Feb 4, 2010 at 12:47 PM, Daniel Jacobowitz w= rote: > 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 insta= ll". 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"); [no ack sent] putpkt ("$E00#a5"); [noack mode] For some reason, it wouldn't read the file and send it to gdb. Any suggesti= ons? Thanks. --=20 H.J.