This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Developing for Insight


On Tue, 2003-04-22 at 11:18, Liang, James wrote:

> (gdb) f
> #0  func2 () at test.c:79
> 
> (gdb) list
> 74         doPrint("Hello\n");
> 75     #endif
> 76         INT8U      y;
> 77
> 78         if (0==retVal)
> 79           retVal=pparse(retVal,a,b);
> 80         else 
> 81           return retVal;
> 82         
> 83         /* function got
> 
> (gdb) tk gdb_loc
> test.c func2 /home/jliang/testProg/test.c 79 0x33d45 0x0 {}

Ok, so what we see is that both Insight and GDB think you're at the same
place, in func2() at /home/jliang/testProg/test.c:79. So the SrcWin or
SrcTextWin is screwing up. Are you sure that the debug window reported
no errors? Perhaps it would be best to send your insight.log for the
session?

[Reming me again: what codebase are you working with? Host platform?]

Keith



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]