diff options
author | Pedro Alves <palves@redhat.com> | 2010-08-04 20:40:57 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2010-08-04 20:40:57 +0000 |
commit | 70728992914cbc42d5fde4b9b029b465500b2702 (patch) | |
tree | 10b672ad54010a2fc545a7e97e17d1586f8382be /gdb/s390-tdep.c | |
parent | a5ee0f0c4d286ed3437ded51e904016b1e26209d (diff) | |
download | gdb-70728992914cbc42d5fde4b9b029b465500b2702.zip gdb-70728992914cbc42d5fde4b9b029b465500b2702.tar.gz gdb-70728992914cbc42d5fde4b9b029b465500b2702.tar.bz2 |
* s390-tdep.c: Include linux-tdep.h.
(s390_gdbarch_init): Call linux_init_abi.
Diffstat (limited to 'gdb/s390-tdep.c')
-rw-r--r-- | gdb/s390-tdep.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c index daeed0d..683798e 100644 --- a/gdb/s390-tdep.c +++ b/gdb/s390-tdep.c @@ -43,7 +43,7 @@ #include "dis-asm.h" #include "solib-svr4.h" #include "prologue-value.h" - +#include "linux-tdep.h" #include "s390-tdep.h" #include "features/s390-linux32.c" @@ -2909,6 +2909,10 @@ s390_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) displaced_step_at_entry_point); set_gdbarch_max_insn_length (gdbarch, S390_MAX_INSTR_SIZE); + /* Note that GNU/Linux is the only OS supported on this + platform. */ + linux_init_abi (info, gdbarch); + switch (tdep->abi) { case ABI_LINUX_S390: |