public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* libGDB and gdbserver questions
@ 2005-11-15 12:48 Donny Kurniawan
  2005-11-15 14:18 ` Daniel Jacobowitz
  2005-11-15 15:34 ` Vladimir Prus
  0 siblings, 2 replies; 12+ messages in thread
From: Donny Kurniawan @ 2005-11-15 12:48 UTC (permalink / raw)
  To: gdb

Hello,

I am trying to write a remote debugger for multiple processes. As far
as I know, most of the parallel debuggers (that use GDB as the
backend), use multiple instances of GDB, where each instance controls
one process.

The problem is: I want to be able to handle a lot of processes (1000
processes is the minimum), clearly having 1000 instances of GDB
controlling 1000 processes is not very scalable, and it will choke the
"master UI controller" (that controls GDBs).

I've been thinking about 2 solutions:

(1) gdbserver
Since one gdbserver requires one instance of GDB, my plan is to use
gdbserver as the low-level debugging engine and extend GDB to be able
to handle multiple connections from gdbserver (correct me if I'm being
too simplistic). Is there a support for it in GDB?

(2) libGDB
Actually, what's the state of libGDB (v. 2)? Not much docs that I can
find, only http://sources.redhat.com/gdb/papers/libgdb2/ and the
source code. Is it going to be more suitable to address the problem
mentioned above.

Any pointers/directions/opinions are appreciated...

I tried googling and looking at the mailing list, but the minimum
requirement to be able to handle 1000 procs makes the problem unusual.

Thank you,
Donny

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2005-11-21  8:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-15 12:48 libGDB and gdbserver questions Donny Kurniawan
2005-11-15 14:18 ` Daniel Jacobowitz
2005-11-15 23:45   ` Donny Kurniawan
2005-11-16  0:40     ` Daniel Jacobowitz
2005-11-15 15:34 ` Vladimir Prus
2005-11-15 23:31   ` Donny Kurniawan
2005-11-16  8:01     ` Vladimir Prus
2005-11-17  3:58       ` Daniel Jacobowitz
2005-11-17 18:44         ` Stan Shebs
2005-11-21  8:01       ` Donny Kurniawan
2005-11-16  9:19   ` Konstantin Karganov
2005-11-21  8:04     ` Donny Kurniawan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).