From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32272 invoked by alias); 4 Feb 2010 20:36:43 -0000 Received: (qmail 32264 invoked by uid 22791); 4 Feb 2010 20:36:42 -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-fx0-f226.google.com (HELO mail-fx0-f226.google.com) (209.85.220.226) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 04 Feb 2010 20:36:39 +0000 Received: by fxm26 with SMTP id 26so1342473fxm.13 for ; Thu, 04 Feb 2010 12:36:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.93.78 with SMTP id k56mr891309wef.102.1265315796155; Thu, 04 Feb 2010 12:36:36 -0800 (PST) Date: Thu, 04 Feb 2010 20:36:00 -0000 Message-ID: <6dc9ffc81002041236v1d331589k9e6d748c8a1a7b0@mail.gmail.com> Subject: How to load XML target description? From: "H.J. Lu" To: GDB Content-Type: text/plain; charset=ISO-8859-1 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/msg00132.txt.bz2 Hi, I have created x86 XML target files. One of them has --- i386 GNU/Linux --- When I connected gdb to gdbserver, it replied with getpkt ("qXfer:features:read:target.xml:0,fff"); [no ack sent] putpkt ("$l i386 GNU/Linux #82"); [noack mode] 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 install". How do I resolve this? Thanks. -- H.J.