From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5962 invoked by alias); 12 Nov 2008 20:20:44 -0000 Received: (qmail 5895 invoked by uid 22791); 12 Nov 2008 20:20:43 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 12 Nov 2008 20:20:07 +0000 Received: (qmail 19993 invoked from network); 12 Nov 2008 20:15:52 -0000 Received: from unknown (HELO macbook-2.local) (stan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 12 Nov 2008 20:15:52 -0000 Message-ID: <491B3A6E.5010208@codesourcery.com> Date: Wed, 12 Nov 2008 20:20:00 -0000 From: Stan Shebs User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Michael Snyder CC: pedro@codesourcery.com, "gdb@sourceware.org" Subject: Re: multi-proc: info processes? References: <491B3695.5090300@vmware.com> In-Reply-To: <491B3695.5090300@vmware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-11/txt/msg00092.txt.bz2 Michael Snyder wrote: > Hey Pedro, > > For your multi-process work, are you planning anything > analogous to the "info threads" command, eg. "info processes"? Look at "info inferiors". It's just the processes (or whatever) that are currently being controlled by GDB. > > What might that look like, in your model? Would it list, > say, just the processes that gdb is attached to? Or would > you want something analogous to "ps", that would list all > of the processes that are available to be attached? That would be somewhat ambitious, especially for a remote target - I think you'd need a new packet just to return the list of processes... Stan