summaryrefslogtreecommitdiff
path: root/gdb/configure.tgt
diff options
context:
space:
mode:
authorPhilipp Rudo <prudo@linux.vnet.ibm.com>2017-03-16 10:50:29 +0100
committerAndreas Arnez <arnez@linux.vnet.ibm.com>2017-03-16 17:01:49 +0100
commit3626824cea3dd1dc27f0d121c283dde67d8ef56c (patch)
tree0fd7df6154c45c782431c370204911c4fdb3b835 /gdb/configure.tgt
parentd67d2e97621796c52dbf28d7e5ac6c24e27badb3 (diff)
downloadbinutils-gdb-3626824cea3dd1dc27f0d121c283dde67d8ef56c.tar.gz
Add S390 support for linux-kernel targetusers/arnez/lk3
After implementing the new linux-kernel target and preparing s390-tdep. It is now time to get everything to work. Thus implement the hooks required by the linux-kernel target and enable s390's privileged registers. gdb/ChangeLog: * s390-lk-tdep.h: New file. * s390-lk-tdep.c: New file. * Makefile.in (ALL_TARGET_OBS): Add s390-lk-tdep.o. (HFILES_NO_SRCDIR): Add s390-lk-tdep.h. (ALLDEPFILES): Add s390-lk-tdep.c. * configure.tgt (s390*-*-linux*): Add s390-lk-tdep.o. * s390-tdep.h: Define macros for address translation. * s390-tdep.c (s390-lk-tdep.h): New include. (s390_iterate_over_regset_sections): Enable privileged registers. (s390_core_read_description): Enable privileged registers. (s390_gdbarch_init): : Enable privileged registers and adjust.
Diffstat (limited to 'gdb/configure.tgt')
-rw-r--r--gdb/configure.tgt5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index a6dc66276ee..c89e9ee4197 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -482,8 +482,9 @@ powerpc*-*-*)
s390*-*-linux*)
# Target: S390 running Linux
- gdb_target_obs="s390-tdep.o s390-linux-tdep.o solib-svr4.o \
- linux-tdep.o linux-record.o ${lk_target_obs}"
+ gdb_target_obs="s390-tdep.o s390-linux-tdep.o s390-lk-tdep.o \
+ solib-svr4.o linux-tdep.o linux-record.o \
+ ${lk_target_obs}"
build_gdbserver=yes
;;