Fix configure.srv error for Linux on PowerPC
authorPedro Franco de Carvalho <pedromfc@linux.ibm.com>
Wed, 29 Jan 2020 17:42:40 +0000 (14:42 -0300)
committerPedro Franco de Carvalho <pedromfc@linux.ibm.com>
Wed, 29 Jan 2020 17:42:40 +0000 (14:42 -0300)
An error in commit 42cd72aa0279520384327a1f6d0ebd2eb2200645 caused
srv_tgtobj to be overwritten and linux-ppc-low.o to be missed when
linking gdbserver for Linux on PowerPC.  This patch fixes the error.

gdb/gdbserver/ChangeLog:
2020-01-29  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>

* configure.srv (powerpc*-*-linux*): Use srv_tgtobj in second
assignment instead of srv_linux_obj.

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

index a97e4082020d21e39baf07eb20c558e52f48ca04..3b88a9b901e180b740276ae452d55a15406b8d36 100644 (file)
@@ -1,3 +1,8 @@
+2020-01-29  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
+
+       * configure.srv (powerpc*-*-linux*): Use srv_tgtobj in second
+       assignment instead of srv_linux_obj.
+
 2020-01-28  Hannes Domani  <ssbssa@yahoo.de>
 
        * server.c (handle_qxfer_libraries): Write segment-address with
index 8437c1ace061e7cc8bde043f64a2849220954dae..f0ab14f7c33085637fc0823c63f5d887872ae10f 100644 (file)
@@ -211,7 +211,7 @@ case "${target}" in
                        srv_regobj="${srv_regobj} powerpc-isa207-vsx64l.o"
                        srv_regobj="${srv_regobj} powerpc-isa207-htm-vsx64l.o"
                        srv_tgtobj="$srv_linux_obj linux-ppc-low.o"
-                       srv_tgtobj="$srv_linux_obj nat/ppc-linux.o"
+                       srv_tgtobj="${srv_tgtobj} nat/ppc-linux.o"
                        srv_tgtobj="${srv_tgtobj} arch/ppc-linux-common.o"
                        srv_xmlfiles="rs6000/powerpc-32l.xml"
                        srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-altivec32l.xml"