From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3846 invoked by alias); 25 Jan 2002 18:21:02 -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 3752 invoked from network); 25 Jan 2002 18:20:53 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 25 Jan 2002 18:20:53 -0000 Received: from drow by nevyn.them.org with local (Exim 3.33 #1 (Debian)) id 16UAxt-0005zA-00; Fri, 25 Jan 2002 13:20:41 -0500 Date: Fri, 25 Jan 2002 10:21:00 -0000 From: Daniel Jacobowitz To: "Sarnath K - CTD, Chennai." Cc: Pierre Muller , gdb@sources.redhat.com Subject: Re: "tracepoints", "follow-fork-mode", "watch - remote" Message-ID: <20020125132041.A22886@nevyn.them.org> Mail-Followup-To: "Sarnath K - CTD, Chennai." , Pierre Muller , 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.3.23i X-SW-Source: 2002-01/txt/msg00301.txt.bz2 On Fri, Jan 25, 2002 at 04:18:23PM +0530, Sarnath K - CTD, Chennai. wrote: > I tried setting "tracepoints" and dumping snapshots. > But unfortunately I am not able to do it. For the > commands "tstart" and "tstop" GDB says that > "Trace can only be run on remote targets.". so I just > "run" the program. The program executed and exited Only remote targets, remember? > So, Can't I trace on a standalone system. > If I use "gdbserver" as on the target side, > GDB says that "target doesnt support command". > So whats the solution ? Cant "tracepoints" be > used ? You need a stub supporting tracepoints. At the moment I do not know of any. > 2. hardware brkpoints, hardware "watch"es are > not supported in the GDBSERVER. Is this true ? > or Is there any configutation option for this, which > I am missing ? > (PIII machine) That is true. I could add them, but I need to finish the rest of my gdbserver infrastructure work (currently on hold) first. > 3. "set follow-fork-mode" always works as if it's value > is "parent". I am not able to debug "child" or enable > GDB "ask" for the choice. Is this configuraion, not > supported on x86 machines or Am I missing something. It is not supported on Linux. This is a documentation failure. It could be supported, but I haven't really wrapped my head around how to do it yet. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer