This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
RE: Developing for Insight
- From: "Liang, James" <jliang at sandia dot gov>
- To: "'insight at sources dot redhat dot com'" <insight at sources dot redhat dot com>
- Date: Tue, 22 Apr 2003 12:37:08 -0600
- Subject: RE: Developing for Insight
To clarify, the only thing that Insight displays in the code Window is the
very first executable line of my
main function in main.c
-----Original Message-----
From: Liang, James
Sent: Tuesday, April 22, 2003 12:18 PM
To: 'Keith Seitz'
Cc: 'insight at sources dot redhat dot com'
Subject: RE: Developing for Insight
Ok...
-----Original Message-----
From: Keith Seitz [mailto:keiths at redhat dot com]
Sent: Tuesday, April 22, 2003 11:54 AM
To: Liang, James
Cc: 'insight at sources dot redhat dot com'
Subject: RE: Developing for Insight
On Tue, 2003-04-22 at 09:53, Liang, James wrote:
> Actually, more than just the up and down buttons don't work. That was
just
> an example.
> I mean, I can't get Insight to track where I am in the code even though
the
> list command in the console works.
Open a console window and get your target at a breakpoint somewhere
(like main). The procedure will look something like:
(gdb) file FOO
(gdb) set remotebaud XXXX [if necessary]
(gdb) target BLAH [if necessary]
(gdb) load [if necessary]
(gdb) break SOMEWHERE
(gdb) [run or continue]
Now type:
(gdb) f
(gdb) list
(gdb) tk gdb_loc
Send the results of these last three commands to the list. This is just
too goofy.
Keith