Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Elena Zannoni <ezannoni@redhat.com>
To: "Newman,
	Mark (N-Superior Technical Resource Inc)" <mark.newman@lmco.com>
Cc: Elena Zannoni <ezannoni@redhat.com>, gdb@sources.redhat.com
Subject: RE: filtering of commands during async operation
Date: Fri, 07 Nov 2003 17:03:00 -0000	[thread overview]
Message-ID: <16299.53360.173781.54262@localhost.redhat.com> (raw)
In-Reply-To: <F56FBA314E8E5A41895F0DA8F6716A6D02A1E3@EMSS04M11.us.lmco.com>

Newman, Mark (N-Superior Technical Resource Inc) writes:
 > 
 > 
 > > From: Elena Zannoni [mailto:ezannoni@redhat.com]
 > .....
 > > 
 > >  > Next a request - Could you add "tfind", "tdump", "tstart", 
 > > and "tstop"
 > >  > to the list of acceptable commands?  I know that if I am using
 > >  > tracepoints to monitor what is going on in a system I 
 > > don't want to wait
 > >  > and hope that whatever event I am monitoring for occurs.  
 > > I want to be
 > >  > able to look at the tracepoints while they are occurring.
 > >  > 
 > > 
 > > 
 > > It sounds like a sensible change, however I'd like to know a bit more
 > > about the direction you are headed. Surely such a change would be a
 > > candidate for a patch.
 > > 
 > 
 > I am not certain what you mean by where I am headed.  My near term
 > objective is to get tracepoints running in the background and to provide
 > some additions that I typically put in a debugger. 
 > 
 > I added some support for tracepoints in gdbserver.  I then tested that
 > in the foreground.  It seemed that everyone writing to the lists at the
 > time was doing that. That resulted in couple (3) of bug finds that were
 > fixed.
 > 
 > I provided a patch and a bug report (actually an enhancement - which I
 > cannot find now) that allows tracepoints to run while in async mode.  I
 > am now looking at running tracepoints in the background.  That resulted
 > in this thread.
 > 

I found some messages/patches and reread your postings. I now see what
you want to do.

 > I am headed at getting tracepoints to the point where I can start a
 > remote target running, establish tracepoints, and then go in and peek
 > and poke through those tracepoints without disturbing the remote process
 > (as Jim's and Michael's Heisenberg paper talked about).  I am trying to
 > go a step further than their paper by allowing one to inspect the
 > tracepoints while the remote is running, collecting, and hopefully not
 > being perturbed.  This is something I have done in the past with some
 > commercial debuggers and I am tired of doing and redoing it.
 > 

OK.

 > I have typically used this type of analysis on systems that incorporate
 > multiple computers - possibly multiple cpu's with multiple dsp's -
 > frequently these processors are headless.  Tracepoints or something like
 > them are used to help isolate a problem (feature) to a specific process
 > on a specific processor.  Then and if needed the more classic features
 > of a debugger are used to reduce the error. 
 > 
 > >  > Finally - would it be better to place a flag in 
 > > command_list_element and
 > >  > avoid all of the strcmp's altogether?
 > >  > 
 > > 
 > > The async interface was not really fully implemented, and the current
 > > subset of commands to be run while the inferior executes was just a
 > > proof of concept. 
 > 
 > I have been sorta following the thread between Andrew, Jim, and Elena.
 > I would very much like to get any changes that have been made to async.
 > I assume that other people would also.  If I can't then, as you
 > suggested Elena, I will simply have to duplicate the work that Apple
 > did.
 > 

Yeah, it would be nice to see what Apple did.

 > It may very well be that I am not the only person to find the problem
 > but rather the only one to report it.  The effect of the problem was to
 > let all commands go through.
 > 

Proabably you are right, sigh. Apple very likely ran into that as
well.

 > I have only a short history in this list and it is not clear to me.
 > Have the Apple changes been delivered?  Has the first of two sets of
 > changes only been delivered?  Is Jim going to make those changes that
 > Apple made available?  Are the Apple changes available in source with
 > Panther?

Apple definitely makes their sources available, somewhere on their
website, but I am not sure where. I remember that finding them was not
very straightforward.

elena


  parent reply	other threads:[~2003-11-07 17:03 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-07 16:00 Newman, Mark (N-Superior Technical Resource Inc)
2003-11-07 16:14 ` Daniel Jacobowitz
2003-11-07 17:03 ` Elena Zannoni [this message]
     [not found] <1068129153.32379.ezmlm@sources.redhat.com>
2003-11-06 17:38 ` Jim Ingham
2003-11-06 19:41   ` Elena Zannoni
2003-11-06 21:16     ` Jim Ingham
2003-11-06 22:10       ` Andrew Cagney
2003-11-06 22:29         ` Elena Zannoni
2003-11-06 22:26       ` Elena Zannoni
  -- strict thread matches above, loose matches on Subject: below --
2003-11-06 14:32 Newman, Mark (N-Superior Technical Resource Inc)
2003-11-06 16:57 ` Elena Zannoni
2003-11-05 21:11 Newman, Mark (N-Superior Technical Resource Inc)
2003-11-05 21:52 ` Doug Evans
2003-11-05 22:00   ` Grant Edwards
2003-11-05 22:10     ` Paul Koning
2003-11-05 23:11     ` Elena Zannoni

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=16299.53360.173781.54262@localhost.redhat.com \
    --to=ezannoni@redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=mark.newman@lmco.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