Allow powerpc-*-lynxos* GDBserver to send register map via XML...

... 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.
This commit is contained in:
Joel Brobecker 2013-01-07 11:39:25 +00:00
parent 3f6e77ef16
commit 50681a2705
2 changed files with 7 additions and 0 deletions

View 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

View 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"