From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27741 invoked by alias); 19 Mar 2004 17:30:15 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 27717 invoked from network); 19 Mar 2004 17:30:14 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 19 Mar 2004 17:30:14 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1B4Noz-0003iy-1f; Fri, 19 Mar 2004 12:30:13 -0500 Date: Fri, 19 Mar 2004 18:43:00 -0000 From: Daniel Jacobowitz To: luca risso Cc: gdb@sources.redhat.com Subject: Re: Remote debugging Message-ID: <20040319173013.GB14209@nevyn.them.org> Mail-Followup-To: luca risso , gdb@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2004-03/txt/msg00185.txt.bz2 On Fri, Mar 19, 2004 at 10:13:40AM +0000, luca risso wrote: > Hi, > > I'm trying to debug an application running on a PPC board with Linux 2.4.25. > > I'm new about this kind of environment so please don't be surprised if my > question seems too silly. > Using GDBServer I can run the program on the target and set breakpoints to > stop a thread. > I seems to me that should be possible (I've still not experinced that) also > to stop all threads of a process on the same breakpoint. > > Now, is it possible someway to stop all processes running on the board? > It would be useful when debugging processes sending messages to each other. > Something similar is available using psos and VxWorks environments where > all processes seems to be "freezed" at a time. No, it's not possible. GDB can only manage one process at a time. By the way, every time you stop a thread, GDB arranges for all threads in that process to stop. GDB doesn't currently support any other mode. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer