diff options
author | Alan Hayward <alan.hayward@arm.com> | 2019-01-24 18:55:20 +0000 |
---|---|---|
committer | Alan Hayward <alan.hayward@arm.com> | 2019-01-28 09:34:51 +0000 |
commit | f084d335110408aa08ea06c7cb217ae19697db3d (patch) | |
tree | 3c11e6aef9185c18008e65f4d0205045750ff5fb /gdb/python | |
parent | f5f2b743ae8fdbfbd572756e611051ef5d1d05c1 (diff) | |
download | binutils-f084d335110408aa08ea06c7cb217ae19697db3d.zip binutils-f084d335110408aa08ea06c7cb217ae19697db3d.tar.gz binutils-f084d335110408aa08ea06c7cb217ae19697db3d.tar.bz2 |
gdbserver: When attaching, add process before lwps
The recent BP/WP changes for AArch64 swapping the order in add_lwp()
so that the process was added before the lwp. This was due to the lwp
creation requiring the process data.
This also needs changing in linux_attach().
Fixes gdb.server/ext-attach.exp on Aarch64.
(This regression was hidden due to the racy nature of the gdb.server
tests - now they are no longer racy it'll be easier to spot. Also
checked X86).
gdb/gdbserver/ChangeLog:
2019-01-25 Alan Hayward <alan.hayward@arm.com>
* linux-low.c (linux_attach): Add process before lwp.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions