aboutsummaryrefslogtreecommitdiff
path: root/opcodes/ip2k-opc.c
diff options
context:
space:
mode:
authorAndreas Arnez <arnez@linux.ibm.com>2021-11-17 11:46:36 +0100
committerAndreas Arnez <arnez@linux.ibm.com>2021-11-17 15:31:11 +0100
commit0df670bbe009d3b57f5dbf9599913ad06013ec4e (patch)
tree9d995e2dadf417ea63114cd356d57665de8187d6 /opcodes/ip2k-opc.c
parent1aed145ad6475a3be195f0b3444c14ecd84068e4 (diff)
downloadgdb-0df670bbe009d3b57f5dbf9599913ad06013ec4e.zip
gdb-0df670bbe009d3b57f5dbf9599913ad06013ec4e.tar.gz
gdb-0df670bbe009d3b57f5dbf9599913ad06013ec4e.tar.bz2
[gdb/build, s390x] Fix build after gdbarch_tdep changes
Commit 345bd07cce33 ("gdb: fix gdbarch_tdep ODR violation") changes a declaration in s390-tdep.h from struct gdbarch_tdep { ... }; to struct s390_gdbarch_tdep : gdbarch_tdep { ... }; and now requires that gdbarch_tdep has been declared before. Which is usually the case, except when compiling s390-linux-nat.c, where s390-tdep.h is included before gdbarch.h. Thus the s390x build errors out with the compiler complaining about a missing class name after the colon. Fix this in s390-linux-nat.c, by including gdbarch.h before s390-tdep.h.
Diffstat (limited to 'opcodes/ip2k-opc.c')
0 files changed, 0 insertions, 0 deletions