public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: "Newman, Mark (N-Superior Technical Resource Inc)" <mark.newman@lmco.com>
To: Jim Blandy <jimb@redhat.com>
Cc: Andrew Cagney <ac131313@redhat.com>, gdb@sources.redhat.com
Subject: RE: Tracepoints
Date: Tue, 07 Oct 2003 13:00:00 -0000	[thread overview]
Message-ID: <F56FBA314E8E5A41895F0DA8F6716A6D02A4C9@EMSS04M11.us.lmco.com> (raw)

Jim -

This is fascinating.  I am going over the code today - you were right -
much code inspection.  

I did a simple test and using the --async switch am unable to get
behavior to change.  Is there anything else I need to know?

                                              Mark

> -----Original Message-----
> From: Jim Blandy [mailto:jimb@redhat.com]
> Sent: Monday, October 06, 2003 5:03 PM
> To: Newman, Mark (N-Superior Technical Resource Inc)
> Cc: Andrew Cagney; gdb@sources.redhat.com
> Subject: Re: Tracepoints
> 
> 
> 
> "Newman, Mark (N-Superior Technical Resource Inc)" 
> <mark.newman@lmco.com> writes:
> > I don't want to go into detail until I get some kind of a 
> feel for how
> > this will be accepted but would the community mind if I 
> took a stab at
> > redoing the front end so that commands like "show", "tfind", "tdump"
> > could be performed when the target or inferior is running?
> 
> Oh, please take a stab at whatever you like --- the important thing is
> to talk about how you plan to go about it and get some buy-in before
> you go off and sink a lot of time into something.
> 
> There's already some progress done in this area: look for references
> to "asynchronous" or "async" in the code and manuals.  I don't really
> know what its status is, but I have the impression it's incomplete.
> 
> > This would of course be done under either a compile switch 
> or a runtime
> > switch to ensure compatability with the current tools.
> 
> From gdb/doc/gdb.texinfo:
> 
>   @item -async
>   @cindex @code{--async}
>   Use the asynchronous event loop for the command-line interface.
>   @value{GDBN} processes all events, such as user keyboard 
> input, via a
>   special event loop.  This allows @value{GDBN} to accept and 
> process user
>   commands in parallel with the debugged process being
>   run@footnote{@value{GDBN} built with @sc{djgpp} tools for
>   MS-DOS/MS-Windows supports this mode of operation, but the 
> event loop is
>   suspended when the debuggee runs.}, so you don't need to wait for
>   control to return to @value{GDBN} before you type the next command.
>   (@emph{Note:} as of version 5.1, the target side of the asynchronous
>   operation is not yet in place, so @samp{-async} does not work fully
>   yet.)
>   @c FIXME: when the target side of the event loop is done, 
> the above NOTE
>   @c should be removed.
> 
>   When the standard input is connected to a terminal device, 
> @value{GDBN}
>   uses the asynchronous event loop by default, unless disabled by the
>   @samp{-noasync} option.
> 
>   @item -noasync
>   @cindex @code{--noasync}
>   Disable the asynchronous event loop for the command-line interface.
> 
> Not that that answers every question or anything --- just trying to
> suggest starting places.
> 
> I have this premonition that you have a lot of code reading ahead of
> you.  :)
> 

             reply	other threads:[~2003-10-07 13:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-07 13:00 Newman, Mark (N-Superior Technical Resource Inc) [this message]
2003-10-07 16:33 ` Tracepoints Jim Blandy
2003-10-08 17:21 ` Tracepoints Andrew Cagney
  -- 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-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-07-11 10:38 Tracepoints Billalabeitia, Jose Carlos (IndSys, GEPM)
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 Edward Peschko
2001-03-21 15:59   ` tracepoints Eli Zaretskii
2001-03-21 15:59 ` tracepoints Eli Zaretskii
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=F56FBA314E8E5A41895F0DA8F6716A6D02A4C9@EMSS04M11.us.lmco.com \
    --to=mark.newman@lmco.com \
    --cc=ac131313@redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=jimb@redhat.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).