This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Problem starting trace experiment with gdb and TSIM-LEON3
- From: Daniel Jacobowitz <drow at false dot org>
- To: J R <jreiver at free dot fr>
- Cc: gdb at sourceware dot org
- Date: Sat, 13 Sep 2008 13:06:29 -0400
- Subject: Re: Problem starting trace experiment with gdb and TSIM-LEON3
- References: <1221320962.48cbe102e923e@imp.free.fr>
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