aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Arnez <arnez@linux.vnet.ibm.com>2017-12-08 14:19:23 +0100
committerAndreas Arnez <arnez@linux.vnet.ibm.com>2017-12-08 14:19:23 +0100
commit336ef6d22a5dba921eed85eb4fa75ed22a02a633 (patch)
tree60f145ecc0e7a29ae1fc2bcd44fb541a2f058aea
parent2d054e6bfdfb0f58fb9cc501c29327df34fec697 (diff)
downloadfsf-binutils-gdb-336ef6d22a5dba921eed85eb4fa75ed22a02a633.zip
fsf-binutils-gdb-336ef6d22a5dba921eed85eb4fa75ed22a02a633.tar.gz
fsf-binutils-gdb-336ef6d22a5dba921eed85eb4fa75ed22a02a633.tar.bz2
S390: Add symfile-mem
For some reason symfile-mem.o is not included in the configuration for "s390*-*-linux*". It was added to the configuration of most GNU/Linux targets with a patch from Andrew Cagney: "Add symfile-mem to all linux targets" -- https://sourceware.org/ml/gdb-patches/2005-02/msg00053.html But the s390 target was overlooked at that time. Thus the command "add-symbol-file-from-memory" is missing and VDSO symbols are not loaded. This is fixed. gdb/ChangeLog: * configure.tgt (s390*-*-linux*): Add symfile-mem.o.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/configure.tgt2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c18160c..0c96636 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2017-12-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * configure.tgt (s390*-*-linux*): Add symfile-mem.o.
+
2017-12-07 Keith Seitz <keiths@redhat.com>
PR breakpoints/22569
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index 701ad6c..f720154 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -514,7 +514,7 @@ powerpc*-*-*)
s390*-*-linux*)
# Target: S390 running Linux
gdb_target_obs="s390-linux-tdep.o solib-svr4.o linux-tdep.o \
- linux-record.o"
+ linux-record.o symfile-mem.o"
build_gdbserver=yes
;;