s390: gdbarch_tdep add field tdesc
authorPhilipp Rudo <prudo@linux.vnet.ibm.com>
Tue, 23 Jan 2018 12:37:42 +0000 (13:37 +0100)
committerAndreas Arnez <arnez@linux.vnet.ibm.com>
Tue, 23 Jan 2018 12:37:42 +0000 (13:37 +0100)
commit095085d8473689d86e00cd7d9a63680ca8faeda6
treefe7ecb2fc0364b3f59209a403ecefb825eb07c18
parentab9bcc67975f2a04dfa0e670096fc8161d7840b9
s390: gdbarch_tdep add field tdesc

Add a field for the target description to gdbarch_tdep.  This will later be
needed to pass the 'correct' target description from osabi_init to
gdbarch_init.  Unfortunately this cannot be done using gdbarch_info as it
is only passed by copy, not reference.

gdb/ChangeLog:

* s390-linux-tdep.c (gdbarch_tdep) <tdesc>: New field.
(s390_gdbarch_tdep_alloc): Adjust.
(s390_gdbarch_init): Adjust.
gdb/ChangeLog
gdb/s390-linux-tdep.c
This page took 0.02513 seconds and 4 git commands to generate.