* updating source window on breakpoint
@ 2003-01-29 16:49 Don Howard
2003-01-29 17:12 ` Keith Seitz
0 siblings, 1 reply; 2+ messages in thread
From: Don Howard @ 2003-01-29 16:49 UTC (permalink / raw)
To: insight
Could someone point me a the relevant functions for updating the source
window when a breakpoint is hit?
I need to convince insight to switch to disassembly mode when there is no
symbol info for the break address.
--
dhoward@redhat.com
gdb engineering
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: updating source window on breakpoint
2003-01-29 16:49 updating source window on breakpoint Don Howard
@ 2003-01-29 17:12 ` Keith Seitz
0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2003-01-29 17:12 UTC (permalink / raw)
To: Don Howard; +Cc: insight
On Wed, 2003-01-29 at 08:46, Don Howard wrote:
> Could someone point me a the relevant functions for updating the source
> window when a breakpoint is hit?
>
> I need to convince insight to switch to disassembly mode when there is no
> symbol info for the break address.
Insight should automatically do this. Have you tried opening a debug
window? ("tk ManagedWin::open DebugWin" at console)
You're looking for an "UpdateEvent", which is handled by
GDBEventHandler::update. For the source window, this is in
SrcWin::update, which calls some other stuff (SrcWin::location and, most
important, SrcTextWin::location). It is in srctextwin.itb where the
nitty gritty really happens. (This file is, sadly, our equivalent of
infrun.c and wfi.)
How is it that this is failing? No debug messages?
Keith
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-01-29 17:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-29 16:49 updating source window on breakpoint Don Howard
2003-01-29 17:12 ` 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).