This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA 2/2] Make x86-lynx GDBserver pass XML register map to GDB.
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Cc: Joel Brobecker <brobecker at adacore dot com>
- Date: Mon, 17 Dec 2012 06:38:47 -0500
- Subject: [RFA 2/2] Make x86-lynx GDBserver pass XML register map to GDB.
- References: <1355744327-19557-1-git-send-email-brobecker@adacore.com>
This is not strictly needed, since both GDB and GDBserver seem
to agree on the register numbering without this. But this allows
us to make sure that this is always going to be the case.
gdb/gdbserver/ChangeLog:
* configure.srv (i[34567]86-*-lynxos*): Set srv_xmlfiles.
Tested on x86-lynx5. OK to commit?
Thanks,
--
Joel
---
gdb/gdbserver/configure.srv | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/gdb/gdbserver/configure.srv b/gdb/gdbserver/configure.srv
index cb7cfee..cdb5487 100644
--- a/gdb/gdbserver/configure.srv
+++ b/gdb/gdbserver/configure.srv
@@ -105,6 +105,9 @@ case "${target}" in
;;
i[34567]86-*-lynxos*) srv_regobj="i386.o"
srv_tgtobj="lynx-low.o lynx-i386-low.o"
+ srv_xmlfiles="i386/i386.xml"
+ srv_xmlfiles="${srv_xmlfiles} i386/32bit-core.xml"
+ srv_xmlfiles="${srv_xmlfiles} i386/32bit-sse.xml"
srv_lynxos=yes
;;
i[34567]86-*-mingw32ce*)
--
1.7.0.4