This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] multi-process gdb (forks, checkpoints)
- From: Michael Snyder <msnyder at redhat dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: gdb-patches at sources dot redhat dot com, gdb at sources dot redhat dot com
- Date: Tue, 29 Nov 2005 11:20:31 -0800
- Subject: Re: [RFC] multi-process gdb (forks, checkpoints)
- References: <438B8B6F.6010706@redhat.com> <uek5083rx.fsf@gnu.org>
Eli Zaretskii wrote:
Date: Mon, 28 Nov 2005 14:57:51 -0800
From: Michael Snyder <msnyder@redhat.com>
This is, no kidding, gdb debugging multiple processes.
Wow! Thanks!
Eli, I'll be working on documentation. For the mean time,
the user interface looks like this:
set/show detach-on-fork (on/off) [default on]
info forks
fork <n> [analogous to thread <n>]
detach-fork <n>
delete-fork <n> [and kill]
I'd prefer that we use ``process'' instead of ``fork'' here. That is,
info processes
process <n> [assuming n is a PID]
Good idea. But <n>, as written, is not a PID, it's a
small counting number (analogous to a breakpoint id or
thread id).
I've added the command "process <proc-id" on the branch,
but kept "fork <fork-id>" since its semantics is different
(and still useful). "info processes" is problematic, since
there is already an "info proc" command.