Introduce target_announce_attach
authorTom Tromey <tom@tromey.com>
Mon, 27 Dec 2021 04:49:48 +0000 (21:49 -0700)
committerTom Tromey <tom@tromey.com>
Thu, 6 Jan 2022 15:56:20 +0000 (08:56 -0700)
commitbc521517b7058a231a08bf8f3deae7cd41cd62d7
treeae7a824e59ff285cd070bc89d41e286f786e55a5
parent10a85f29c74ab562db622cfc4f58997e859c6ed6
Introduce target_announce_attach

This introduces target_announce_attach, by analog with
target_announce_detach.  Then it converts existing targets to use
this, rather than emitting their own output by hand.
gdb/darwin-nat.c
gdb/gnu-nat.c
gdb/inf-ptrace.c
gdb/nto-procfs.c
gdb/procfs.c
gdb/remote.c
gdb/target.c
gdb/target.h
gdb/windows-nat.c