From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11260 invoked by alias); 22 Apr 2003 20:52:34 -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 11252 invoked from network); 22 Apr 2003 20:52:33 -0000 Received: from unknown (HELO MM01SNLNTO.son.sandia.gov) (132.175.109.20) by sources.redhat.com with SMTP; 22 Apr 2003 20:52:33 -0000 Received: from 132.175.109.4 by MM01SNLNTO.son.sandia.gov with ESMTP ( Tumbleweed MMS SMTP Relay 01 (MMS v5.5.0)); Tue, 22 Apr 2003 14:52:30 -0600 Received: from es08snlnt.sandia.gov (smtp-in.sandia.gov [134.253.130.11] ) by mailgate2.sandia.gov (8.12.9/8.12.9) with ESMTP id h3MKqTbo026332; Tue, 22 Apr 2003 14:52:30 -0600 (MDT) Received: by es08snlnt.sandia.gov with Internet Mail Service ( 5.5.2653.19) id <2AA2D0HB>; Tue, 22 Apr 2003 14:52:28 -0600 Message-ID: <71251C7D5FB1D2119C8F0008C7A44ED103792013@es07snlnt.sandia.gov> From: "Liang, James" To: "'Keith Seitz'" cc: "'insight@sources.redhat.com'" Subject: RE: Developing for Insight Date: Tue, 22 Apr 2003 20:52:00 -0000 MIME-Version: 1.0 X-WSS-ID: 12BB7404376514-01-01 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2003-q2/txt/msg00033.txt.bz2 Something else I forgot to mention that may clear things up. Recall I said the source window is stack on main.c at function main. Well, if I hit the stack button, it will show me my call stack. If I click on one of the functions in the call stack, it has no trouble updating the code window to match. Funny. disassembly still doesn't work though -----Original Message----- From: Keith Seitz [mailto:keiths@redhat.com] Sent: Tuesday, April 22, 2003 12:46 PM To: Liang, James Cc: 'insight@sources.redhat.com' Subject: 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