From: Joel Brobecker Date: Mon, 7 Jan 2013 11:39:25 +0000 (+0000) Subject: Allow powerpc-*-lynxos* GDBserver to send register map via XML... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=50681a27052bb304959dd6beb1bd38bc3c27fa23;p=binutils-gdb.git 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. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 8f85b92a0a5..836f0dfb519 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2013-01-07 Joel Brobecker + + * configure.srv (powerpc-*-lynxos*): Set srv_xmlfiles. + 2013-01-07 Joel Brobecker * lynx-low.c (lynx_resume): Use the resume_info parameter diff --git a/gdb/gdbserver/configure.srv b/gdb/gdbserver/configure.srv index d1e04a9685c..cb7cfeee390 100644 --- a/gdb/gdbserver/configure.srv +++ b/gdb/gdbserver/configure.srv @@ -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"