This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: add-inferior / clone-inferior
- From: Tom Tromey <tromey at redhat dot com>
- To: David Taylor <dtaylor at emc dot com>
- Cc: Yao Qi <yao at codesourcery dot com>, "gdb\ at sourceware dot org" <gdb at sourceware dot org>
- Date: Tue, 21 May 2013 07:52:20 -0600
- Subject: Re: add-inferior / clone-inferior
- References: <7249 dot 1369061005 at usendtaylorx2l> <519AC76E dot 4040508 at codesourcery dot com> <20412 dot 1369142110 at usendtaylorx2l>
>>>>> "David" == David Taylor <dtaylor@emc.com> writes:
David> I want to have separate sockets at GDB's end. I do not want to have a
David> "meta stub" (not really a good name, but nothing better quickly comes to
David> mind) on the local box that managers tcp connections and peeks into the
David> packets to determine when to set up or break down a new tcp connection
David> and where to send the packets.
I've been calling that a "federating gdbserver".
It federates multiple instances into a single server.
David> THat approach is UGLY.
It has one advantage -- you can link them together hierarchically, so
gdb can talk to more remote servers than it has available file
descriptors.
Anyway, I certainly want gdb to be multi-target-capable. I think others
do too. It just requires someone to do the work.
Tom