aboutsummaryrefslogtreecommitdiff
path: root/gdb/common
diff options
context:
space:
mode:
authorAlan Hayward <alan.hayward@arm.com>2019-01-23 11:31:40 +0000
committerAlan Hayward <alan.hayward@arm.com>2019-01-23 11:51:34 +0000
commit6594e122864119d7b1434599c22b112f98e178ca (patch)
tree4b5cb58764b89d866431d1352066fd839356056b /gdb/common
parentd99386305c5420754e84b9e6073cb061922f4a27 (diff)
downloadgdb-6594e122864119d7b1434599c22b112f98e178ca.zip
gdb-6594e122864119d7b1434599c22b112f98e178ca.tar.gz
gdb-6594e122864119d7b1434599c22b112f98e178ca.tar.bz2
AArch64: Ensure lwp info is created zeroed
The code to not set empty hardware BPs/WPs on new threads will only work if the newly allocated struct is empty. Ensure the structure is created zeroed. This patch removes the remaining racy behaviour on gdb.threads tests when run on AArch64 Ubuntu. gdb/ChangeLog: * nat/aarch64-linux.c (aarch64_linux_new_thread): Replace XNEW with XCNEW.
Diffstat (limited to 'gdb/common')
0 files changed, 0 insertions, 0 deletions