Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: J R <jreiver@free.fr>
Cc: gdb@sourceware.org
Subject: Re: Problem starting trace experiment with gdb and TSIM-LEON3
Date: Sat, 13 Sep 2008 17:07:00 -0000	[thread overview]
Message-ID: <20080913170629.GA14221@caradoc.them.org> (raw)
In-Reply-To: <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


  reply	other threads:[~2008-09-13 17:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-13 15:50 J R
2008-09-13 17:07 ` Daniel Jacobowitz [this message]
2008-09-13 22:05   ` jreiver
2008-09-13 22:19     ` Paul Pluzhnikov
2008-09-14  8:47     ` J R
2008-09-14 13:30       ` Daniel Jacobowitz
2008-09-15  2:44       ` Michael Snyder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080913170629.GA14221@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb@sourceware.org \
    --cc=jreiver@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox