From: "H.J. Lu" <hjl.tools@gmail.com>
To: GDB <gdb-patches@sourceware.org>
Subject: How to load XML target description?
Date: Thu, 04 Feb 2010 20:36:00 -0000 [thread overview]
Message-ID: <6dc9ffc81002041236v1d331589k9e6d748c8a1a7b0@mail.gmail.com> (raw)
Hi,
I have created x86 XML target files. One of them has
---
<target>
<architecture>i386</architecture>
<osabi>GNU/Linux</osabi>
<xi:include href="32bit-core.xml"/>
<xi:include href="32bit-linux.xml"/>
<xi:include href="32bit-sse.xml"/>
</target>
---
When I connected gdb to gdbserver, it replied with
getpkt ("qXfer:features:read:target.xml:0,fff"); [no ack sent]
putpkt ("$l<?xml version="1.0"?>
<!-- Copyright (C) 2010 Free Software Foundation, Inc.
*!Copying and distribution of this file, with or without modification,
*!are permitted in any medium without royalty provided the copyright
*!notice and this notice are preserved. -->
<!-- I386 with SSE - Includes Linux-only special "register". -->
<!DOCTYPE target SYSTEM "gdb-target.dtd">
<target>
<architecture>i386</architecture>
<osabi>GNU/Linux</osabi>
<xi:include href="32bit-core.xml"/>
<xi:include href="32bit-linux.xml"/>
<xi:include href="32bit-sse.xml"/>
</target>
#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.
next reply other threads:[~2010-02-04 20:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-04 20:36 H.J. Lu [this message]
2010-02-04 20:47 ` Daniel Jacobowitz
2010-02-04 21:06 ` H.J. Lu
2010-02-04 21:09 ` H.J. Lu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6dc9ffc81002041236v1d331589k9e6d748c8a1a7b0@mail.gmail.com \
--to=hjl.tools@gmail.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox