Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Billalabeitia, Jose Carlos (IndSys, GEPM)" <jc.billalabeitia@indsys.ge.com>
To: gdb@sourceware.cygnus.com
Subject: Tracepoints
Date: Wed, 11 Jul 2001 10:38:00 -0000	[thread overview]
Message-ID: <A1C99F4731CAD111BA5400A024FC3B0C9DB1C0@ESBILMA01EDCGE> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2485 bytes --]

	Hi everybody:

	First of all, my system consists of a custom PowerPC860 board, 
connected to a BDI2000 emulator, through BDM:
	
	BDI Type  : BDI2000 Rev.C
	Loader     :  V1.05
	Firmware :   V1.08 bdiGDB for MPC8xx
	Logic       :  V1.02 MPC8xx/MPC5xx

On the other hand, the BDI2000 is connected to a
Linux PC Host through the Ethernet port. In the host, I have DDD
v3.3 as the graphical debugger and gdb 5.0 as the inferior debugger.

	Up to now I can run properly all the features that DDD offers,
but tracepoints are only supported by the gdb-5.0 not by DDD in this
version, so I have to setup the tracepoints through the DDD-gdb console.
The problem comes when trying to set up the tracepoints:

(gdb)trace board.c:158	 (Here I setup a tracepoint in the code)
Tracepoint 1: file board.c line 158
(gdb)actions 1 (Here is where I should set up the variables to be recorded)
> 1
warning: '1' is not an action that I know, or is ambiguous
> 1
warning: '1' is not an action that I know, or is ambiguous
> 1
warning: '1' is not an action that I know, or is ambiguous
> 1
warning: '1' is not an action that I know, or is ambiguous
> 1
warning: '1' is not an action that I know, or is ambiguous
> 1
warning: '1' is not an action that I know, or is ambiguous
> 1
warning: '1' is not an action that I know, or is ambiguous
> 1
warning: '1' is not an action that I know, or is ambiguous
......
...... (Here I have to press ^C to quit)
^CQuit
(gdb)tstart	(Here I want to start tracing)
Target does not support this command
(gdb)tstop	(Here I want to stop tracing)
Target does not support this command
(gdb)tfind tracepoint 1	(Here I want to see the recorded values off-line)
Target does not support this command 
	

	My thinking is that this feature doesn´t depend on the 
hardware (???) but on the gdb. The gdb seems to be executing 
some instructions consecutively and in a automatic way:

	- stops the program at the tracepoint
	- records variables, registers, ... (snapshots)
	- stores them
	- continues to run the program

My questions are:

	- Is there something wrong in what I do, in the gdb console?
	- Are the tracepoints implemented in the BDI2000 gdbserver?
	- Does it depend on the BDI2000 software version?
	- Is there any other way of getting the same functionality as with
	  the tracepoints, apart from backtrace?
	- Do you know how other people work to get this functionality?
	- Is there a DDD version that supports tracepoints?

						Thank you in advance
							Billa


             reply	other threads:[~2001-07-11 10:38 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-11 10:38 Billalabeitia, Jose Carlos (IndSys, GEPM) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-01-23 13:49 tracepoints Maxim Osipov
2006-01-23 15:00 ` tracepoints Daniel Jacobowitz
2006-01-23 15:20   ` tracepoints Maxim Osipov
2006-01-23 19:37 ` tracepoints Jim Blandy
2003-10-07 13:00 Tracepoints Newman, Mark (N-Superior Technical Resource Inc)
2003-10-07 16:33 ` Tracepoints Jim Blandy
2003-10-08 17:21 ` Tracepoints Andrew Cagney
2003-10-06 13:39 Tracepoints Newman, Mark (N-Superior Technical Resource Inc)
2003-10-06 21:03 ` Tracepoints Jim Blandy
2003-10-02 14:20 tracepoints Newman, Mark (N-Superior Technical Resource Inc)
2003-10-02 13:16 Tracepoints Newman, Mark (N-Superior Technical Resource Inc)
2003-10-02 19:23 ` Tracepoints Andrew Cagney
2001-03-21 15:59 tracepoints Edward Peschko
2001-03-21 15:59 ` tracepoints Eli Zaretskii
2001-03-21 15:59 tracepoints Nicolas.Thery
2001-03-21 15:59 ` tracepoints Eli Zaretskii
2001-03-21 15:59   ` tracepoints Eli Zaretskii
2001-03-21 15:59 ` tracepoints Edward Peschko
2001-03-21 15:59   ` tracepoints Eli Zaretskii
2001-02-27 19:50 tracepoints Edward Peschko

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=A1C99F4731CAD111BA5400A024FC3B0C9DB1C0@ESBILMA01EDCGE \
    --to=jc.billalabeitia@indsys.ge.com \
    --cc=gdb@sourceware.cygnus.com \
    /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