Allow powerpc-*-lynxos* GDBserver to send register map via XML...
authorJoel Brobecker <brobecker@gnat.com>
Mon, 7 Jan 2013 11:39:25 +0000 (11:39 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Mon, 7 Jan 2013 11:39:25 +0000 (11:39 +0000)
... back to GDB.  The transfer occurs when GDB sends the
'qXfer:features:read:target.xml' packet.  This allows us to make
sure that GDB and GDBserver use the same register numbering.
This is important on Lynx 178, where GDB selects the rs6000:6000
architecture by default instead of the powerpc:common architecture.

gdb/gdbserver/ChangeLog:

        * configure.srv (powerpc-*-lynxos*): Set srv_xmlfiles.

gdb/gdbserver/ChangeLog
gdb/gdbserver/configure.srv

index 8f85b92a0a5919d7b2e2abacd4ff403889e5b4fc..836f0dfb519e0b4b972325529f8db32ed67dbd56 100644 (file)
@@ -1,3 +1,7 @@
+2013-01-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * configure.srv (powerpc-*-lynxos*): Set srv_xmlfiles.
+
 2013-01-07  Joel Brobecker  <brobecker@adacore.com>
 
        * lynx-low.c (lynx_resume): Use the resume_info parameter
index d1e04a9685c4d8258bee20ec0dece26a6ecc1392..cb7cfeee390a791a87a679710e4a50fc0af39349 100644 (file)
@@ -229,6 +229,9 @@ case "${target}" in
                        ;;
   powerpc-*-lynxos*)   srv_regobj="powerpc-32.o"
                        srv_tgtobj="lynx-low.o lynx-ppc-low.o"
+                       srv_xmlfiles="rs6000/powerpc-32.xml"
+                       srv_xmlfiles="${srv_xmlfiles} rs6000/power-core.xml"
+                       srv_xmlfiles="${srv_xmlfiles} rs6000/power-fpu.xml"
                        srv_lynxos=yes
                        ;;
   s390*-*-linux*)      srv_regobj="s390-linux32.o"