* Refreshing display
@ 2002-10-27 17:00 Satya
2002-11-04 6:53 ` Keith Seitz
0 siblings, 1 reply; 2+ messages in thread
From: Satya @ 2002-10-27 17:00 UTC (permalink / raw)
To: insight
Hi,
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.
Thanks,
Satya
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Refreshing display
2002-10-27 17:00 Refreshing display Satya
@ 2002-11-04 6:53 ` Keith Seitz
0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2002-11-04 6:53 UTC (permalink / raw)
To: Satya; +Cc: insight
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-04 14:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-27 17:00 Refreshing display Satya
2002-11-04 6:53 ` Keith Seitz
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).