Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Stan Shebs <stan@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC] Observer mode
Date: Fri, 30 Apr 2010 18:21:00 -0000	[thread overview]
Message-ID: <m36338ztr8.fsf@fleche.redhat.com> (raw)
In-Reply-To: <4BD9C057.9090805@codesourcery.com> (Stan Shebs's message of	"Thu, 29 Apr 2010 10:22:31 -0700")

>>>>> "Stan" == Stan Shebs <stan@codesourcery.com> writes:

Stan> We have been calling this "observer mode", and the customer's GDB
Stan> is actually configured to launch in this mode, to reduce the
Stan> chance of accidental stopping - the debugger user has to ask
Stan> specifically to change it to normal debugging mode.

It seems like a reasonable feature to me.

I can't really comment on the implementation approach.

Stan>   #include "gdbcmd.h"
Stan>   #include "value.h"
Stan>   #include "target.h"
Stan> + extern int may_insert_tracepoints;
Stan> + extern int may_insert_fast_tracepoints;
Stan>   #include "language.h"
Stan>   #include "gdb_string.h"
Stan>   #include "inferior.h"

The placement of these declarations seems rather odd.
I seem to keep running across this sort of thing for tracepoints.
I think a tracepoint-implementation-specific header file would be
cleaner.

Tom


      parent reply	other threads:[~2010-04-30 18:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-29 17:23 Stan Shebs
2010-04-29 17:54 ` Eli Zaretskii
2010-04-29 18:12 ` Michael Snyder
2010-04-30  3:19   ` Stan Shebs
2010-04-30 18:21 ` Tom Tromey [this message]

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=m36338ztr8.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=stan@codesourcery.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