This patch got tabled shortly before 5.3, due to bad timing on my part.
Now here we are coming up on 6.0 and my timing's no better... this is
the first of several old patches that I would like to see included in
6.0, assuming I get the time to revisit them all.
Refresher on this one: the patch adds a "disconnect" commad, and
implements it for remote targets. "disconnect" leaves the target
stopped, while "detach" usually resumes it. Useful with kgdb,
gdbserver, et cetera.
I've included the gdbserver portion of the patch this time, too.
There was a consensus on this patch the last time I posted it, but it's
been so long that I'd like a thumbs-up from another maintainer first.
I've corrected the doc problems; Andrew, there's still no MI testcase,
because I could not figure out a reasonable way to write one without
leaving a dangling process around. Re-attaching to it to kill it
properly, from within the testsuite, ranges from hard to really hard.
Thoughts? OK?