updating source window on breakpoint
Keith Seitz
keiths@redhat.com
Wed Jan 29 17:12:00 GMT 2003
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
More information about the Insight
mailing list