From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31816 invoked by alias); 13 Sep 2008 22:05:50 -0000 Received: (qmail 31806 invoked by uid 22791); 13 Sep 2008 22:05:49 -0000 X-Spam-Check-By: sourceware.org Received: from wmproxy1-g27.free.fr (HELO wmproxy1-g27.free.fr) (212.27.42.91) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 13 Sep 2008 22:05:10 +0000 Received: from UNKNOWN (unknown [172.20.243.135]) by wmproxy1-g27.free.fr (Postfix) with ESMTP id CFD962B065; Sun, 14 Sep 2008 00:32:24 +0200 (CEST) Received: by UNKNOWN (Postfix, from userid 0) id CAA4D2AC7BA6; Sun, 14 Sep 2008 00:05:07 +0200 (CEST) Received: from ([82.227.65.140]) by imp.free.fr (IMP) with HTTP for ; Sun, 14 Sep 2008 00:05:07 +0200 Message-ID: <1221343507.48cc3913b3c2f@imp.free.fr> Date: Sat, 13 Sep 2008 22:05:00 -0000 From: jreiver@free.fr To: Daniel Jacobowitz Cc: J R , gdb@sourceware.org Subject: Re: Problem starting trace experiment with gdb and TSIM-LEON3 References: <1221320962.48cbe102e923e@imp.free.fr> <20080913170629.GA14221@caradoc.them.org> In-Reply-To: <20080913170629.GA14221@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.8 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/msg00080.txt.bz2 Hi, In order to upgrade to a higher version of GDB 6.3, I have upgraded from RCC-1.0.12 (RTEMS 4.6) to RCC-1.1.0 (RTEMS 4.8), which is using GDB 6.8. It seemed to get well installed, because I could compile one of the samples provided with sparc-rtems-gcc. However, I couldn't execute sparc-rtems-gdb, which gives me this error message: "sparc-rtems-gdb: error while loading shared libraries: libreadline.so.4: cannot open shared object file: No such file or directory" Is that a problem of the installation of RCC-1.1.0 different from RCC-1.0.12? Or a problem with GDB or else? Any help would be appreciated. Thanks. J R Quoting Daniel Jacobowitz : > 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 >