From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11378 invoked by alias); 13 Sep 2008 17:07:12 -0000 Received: (qmail 11258 invoked by uid 22791); 13 Sep 2008 17:07:11 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 13 Sep 2008 17:06:32 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id F1121104C0; Sat, 13 Sep 2008 17:06:29 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id DA349104BF; Sat, 13 Sep 2008 17:06:29 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1KeYZp-0004O0-8h; Sat, 13 Sep 2008 13:06:29 -0400 Date: Sat, 13 Sep 2008 17:07:00 -0000 From: Daniel Jacobowitz To: J R Cc: gdb@sourceware.org Subject: Re: Problem starting trace experiment with gdb and TSIM-LEON3 Message-ID: <20080913170629.GA14221@caradoc.them.org> Mail-Followup-To: J R , gdb@sourceware.org References: <1221320962.48cbe102e923e@imp.free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1221320962.48cbe102e923e@imp.free.fr> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes 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-09/txt/msg00079.txt.bz2 On Sat, Sep 13, 2008 at 05:49:22PM +0200, J R wrote: > Hi, > > I've tried to use the GDB Tracepoint Feature. > I'm using: > - sparc-rtems-gdb for debugging my program > - tsim-leon3 simulator from Gaisler Research as the remote target > And I'm getting this error message: > "Trace can only be run on remote targets." > > A little more explanation of how I do it: > > 1/ The tsim-leon3 user manual says for the command "hist": > "hist [length]: Enable the instruction trace buffer. The length last executed > instructions will be placed in the trace buffer. A hist command without length > will display the trace buffer. Specifying a zero trace length will disable the > trace buffer." > => So I understand that tsim-leon3 know how to collect trace data, am I right? Maybe, maybe not. You'd have to ask the people you got the simulator from. > (gdb) target extended-remote localhost:1234 > (gdb) tstart > Trace can only be run on remote targets. This bug was fixed after GDB 6.3; please upgrade. -- Daniel Jacobowitz CodeSourcery