This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: How to load XML target description?
- From: Daniel Jacobowitz <dan at codesourcery dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GDB <gdb-patches at sourceware dot org>
- Date: Thu, 4 Feb 2010 15:47:43 -0500
- Subject: Re: How to load XML target description?
- References: <6dc9ffc81002041236v1d331589k9e6d748c8a1a7b0@mail.gmail.com>
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 install". How
> do I resolve this?
See srv_xmlfiles in gdbserver/configure.srv. GDB expects to get the
file over the remote protocol.
--
Daniel Jacobowitz
CodeSourcery