This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: "disconnect" command


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?

The code, yea. Just check that part in.


The doco, though, does not belong in ``Implementing a remote stub'' :-( (the existing doco is scrambled).

Can you please insert at the start of that chapter a new section called:

@section Connecting to a remote target

and then, from ``Using the gdbserver program'' and ``Using the gdbserv.nlm program'', replace ``On the GDB host machine'' with an @xfef to ``Connecting to a remote target''. And move 7. on from ``Implementing a remote stub'' to the new section.

Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]