Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Vladimir Prus <vladimir@codesourcery.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: =frame-selected MI notification
Date: Mon, 31 Aug 2009 23:19:00 -0000	[thread overview]
Message-ID: <m3ljkzy3x8.fsf@fleche.redhat.com> (raw)
In-Reply-To: <h77sng$i8o$1@ger.gmane.org> (Vladimir Prus's message of "Fri, 28 	Aug 2009 10:16:16 +0400")

>>>>> "Volodya" == Vladimir Prus <vladimir@codesourcery.com> writes:

Volodya> Furthermore, I do not think that observers for either thread or
Volodya> frame changes is good idea, design wise. The fact that gdb has
Volodya> current thread or current frame at the code level, is, IMNSHO,
Volodya> a design bug.

I agree, for the core.  But, the problem in question concerns
notification about the changes to the user's view.

E.g., it wouldn't be unreasonable to want to write a Python script that
reacts to changes in the CLI's notion of frame.  In this case, such an
observer would be useful and appropriate.

Tom


  parent reply	other threads:[~2009-08-31 23:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-27 17:01 Dmitry Dzhus
2009-08-27 20:54 ` Tom Tromey
2009-08-28  6:44   ` Vladimir Prus
2009-08-29  5:40     ` Nick Roberts
2009-08-29  7:53       ` Vladimir Prus
2009-08-31 23:11         ` Tom Tromey
2009-09-01 15:13         ` Dmitry Dzhus
2009-08-31 23:19     ` Tom Tromey [this message]
2009-09-01  5:35       ` Vladimir Prus
2009-09-02 19:35         ` Tom Tromey
2009-09-01 18:54   ` Dmitry Dzhus

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=m3ljkzy3x8.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=vladimir@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