aboutsummaryrefslogtreecommitdiff
path: root/gdb/psymtab.h
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2019-04-12 14:25:32 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2019-04-23 22:02:59 +0100
commit030197b43cd8ccfe6869f798dd39fa27a29c0e01 (patch)
treee5557f32d55efcda6dba06c458faadaaad83d9d8 /gdb/psymtab.h
parentb907456c3eb8a08f6b211f66abb448df962749e1 (diff)
downloadgdb-030197b43cd8ccfe6869f798dd39fa27a29c0e01.zip
gdb-030197b43cd8ccfe6869f798dd39fa27a29c0e01.tar.gz
gdb-030197b43cd8ccfe6869f798dd39fa27a29c0e01.tar.bz2
gdb/arm: Use type_align instead of arm_type_align
Replaces use of arm_type_align with common type_align function. Doing this fixes a bug in arm_type_align where static fields are considered as part of the alignment calculation of a struct, which results in arguments passed on the stack being misaligned, this bug was causing a failure in gdb.cp/many-args.exp. Part of the old arm_type_align is retained and used as the gdbarch type align callback in order to correctly align vectors. gdb/ChangeLog: * arm-tdep.c (arm_type_align): Only handle vector override case. (arm_push_dummy_call): Use type_align. (arm_gdbarch_init): Register arm_type_align gdbarch function.
Diffstat (limited to 'gdb/psymtab.h')
0 files changed, 0 insertions, 0 deletions