Enable async mode in the target in attach_cmd.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 22 Feb 2022 19:22:14 +0000 (11:22 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 22 Feb 2022 19:22:14 +0000 (11:22 -0800)
commite05523bd2411bac0277da73556f4d01f6c7448aa
tree6bb11c7419e5c176e0ceec0c246ee850f6365cfc
parentd0bbe64c5a3f9608ae5987f1267de7a734ee8151
Enable async mode in the target in attach_cmd.

If the attach target supports async mode, enable it after the
attach target's ::attach method returns.
gdb/fbsd-nat.c
gdb/fbsd-nat.h
gdb/infcmd.c
gdb/linux-nat.c
gdb/remote.c