aboutsummaryrefslogtreecommitdiff
path: root/libtool.m4
diff options
context:
space:
mode:
authorPhilipp Rudo <prudo@linux.vnet.ibm.com>2018-01-23 13:37:41 +0100
committerAndreas Arnez <arnez@linux.vnet.ibm.com>2018-01-23 13:37:41 +0100
commit21f6f5ffc652e116e518fee29ebdc8fbfeeaa734 (patch)
treecc7a9cf5c0f5bc60eb33225439ba38c068c81962 /libtool.m4
parent0eb97953adcb12aa49e4924d1e28ce6af046d6e2 (diff)
downloadgdb-21f6f5ffc652e116e518fee29ebdc8fbfeeaa734.zip
gdb-21f6f5ffc652e116e518fee29ebdc8fbfeeaa734.tar.gz
gdb-21f6f5ffc652e116e518fee29ebdc8fbfeeaa734.tar.bz2
s390: Allocate gdbarch & tdep at start of gdbarch_init
Moving the allocation of gdbarch_tdep to the start of s390_gdbarch_init allows us to use its fields for tracking the different features instead of using separate variables. To make the code a little nicer move the actual allocation and initialization to a separate function. Also move the allocation of gdbarch to keep the two together. gdb/ChangeLog: * s390-linux-tdep (s390_abi_kind) <ABI_NONE>: New default field. (gdbarch_tdep) <have_upper, have_vx>: New fields. (s390_gdbarch_tdep_alloc): New function. (s390_gdbarch_init): Allocate tdep at start and use its fields instead of separate variables.
Diffstat (limited to 'libtool.m4')
0 files changed, 0 insertions, 0 deletions