This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: looking for a way to enter in the file name and line # anddisplay the source code on the screen
- From: Keith Seitz <keiths at redhat dot com>
- To: Benjamin Tze-Kit Lee <btlee at sfu dot ca>
- Cc: insight at sources dot redhat dot com
- Date: Tue, 13 Aug 2002 12:22:20 -0700 (PDT)
- Subject: Re: looking for a way to enter in the file name and line # anddisplay the source code on the screen
On Tue, 13 Aug 2002, Keith Seitz wrote:
> set srcwins [ManagedWin::find SrcWin]
> set firstSrcWin [lindex $srcwins 0]
> $firstSrcWin location BROWSE_TAG "foo.c:23"
Whoops. That last line should read:
$firstSrcWin location BROWSE_TAG [gdb_loc foo.c:23]
Keith