From: Keith Seitz <keiths@redhat.com>
To: Satya <satya@ittc.ku.edu>
Cc: insight@sources.redhat.com
Subject: Re: Refreshing display
Date: Mon, 04 Nov 2002 06:53:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.44.0211040645120.1547-100000@lindt.uglyboxes.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0210271855080.29427-100000@scooter.ittc.ku.edu>
On Sun, 27 Oct 2002, Satya wrote:
> Can someone tell me how the mechanism how the display gets refreshed in
> the breakpoint window when I set the breakpoint from the command line.
When you set a breakpoint, a breakpoint event is triggered in breakpoint.c
(look for breakpoint_create_event, breakpoint_delete_event,
breakpoint_modify_event).
In gdbtk/generic/gdbtk-hooks.c, we configure an event handler for this,
gdbtk_*_breakpoint (which are all located in
gdb/gdbtk/generic/gdbtk-bp.c).
These call the Tcl procedure gdbtk_tcl_breakpoint, which creates a
BreakpointEvent (gdbevent.it[hb]), which is distributed to all the
GDBEventHandlers.
The SrcTextWins are GDBEventHandlers, and so SrcTextWin::breakpoint is
called, which (eventually) sets the breakpoint.
Keith
prev parent reply other threads:[~2002-11-04 14:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-27 17:00 Satya
2002-11-04 6:53 ` Keith Seitz [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=Pine.LNX.4.44.0211040645120.1547-100000@lindt.uglyboxes.com \
--to=keiths@redhat.com \
--cc=insight@sources.redhat.com \
--cc=satya@ittc.ku.edu \
/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).