From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26352 invoked by alias); 22 Apr 2003 18:43:49 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 26343 invoked from network); 22 Apr 2003 18:43:49 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 22 Apr 2003 18:43:49 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h3MIhmD20579 for ; Tue, 22 Apr 2003 14:43:48 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h3MIhmq16007; Tue, 22 Apr 2003 14:43:48 -0400 Received: from [150.1.200.14] (vpn50-44.rdu.redhat.com [172.16.50.44]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h3MIhlk19135; Tue, 22 Apr 2003 14:43:48 -0400 Subject: RE: Developing for Insight From: Keith Seitz To: "Liang, James" Cc: "'insight@sources.redhat.com'" In-Reply-To: <71251C7D5FB1D2119C8F0008C7A44ED103792010@es07snlnt.sandia.gov> References: <71251C7D5FB1D2119C8F0008C7A44ED103792010@es07snlnt.sandia.gov> Content-Type: text/plain Organization: Message-Id: <1051037144.1538.13.camel@lindt.uglyboxes.com> Mime-Version: 1.0 Date: Tue, 22 Apr 2003 18:43:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2003-q2/txt/msg00030.txt.bz2 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