From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3350 invoked by alias); 9 Jan 2011 16:08:15 -0000 Received: (qmail 3329 invoked by uid 22791); 9 Jan 2011 16:08:12 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST X-Spam-Check-By: sourceware.org Received: from mail-iw0-f169.google.com (HELO mail-iw0-f169.google.com) (209.85.214.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 09 Jan 2011 16:08:07 +0000 Received: by iwn40 with SMTP id 40so20702298iwn.0 for ; Sun, 09 Jan 2011 08:08:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.219.2 with SMTP id hs2mr3198080icb.365.1294589285900; Sun, 09 Jan 2011 08:08:05 -0800 (PST) Received: by 10.42.195.199 with HTTP; Sun, 9 Jan 2011 08:08:05 -0800 (PST) In-Reply-To: <4D288893.90700@gmail.com> References: <4D288893.90700@gmail.com> Date: Sun, 09 Jan 2011 16:08:00 -0000 Message-ID: Subject: Re: cannot see source in source window when compile as mips From: loody To: Michael Trensch Cc: insight@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2011-q1/txt/msg00003.txt.bz2 hi: 2011/1/8 Michael Trensch : > On 08.01.2011 16:40, loody wrote: >> hi: >> >> 2011/1/8 loody : >>> Dear all: >>> I download insight6.8.1 and compile it for suitable debugging mips program. >>> But I cannot see the source in source window as the attach pic. >>> have anyone met the same problem before? >>> BTW, if I try to compile insight6.8.1 with gdb7.2, only I need to do >>> is change gdb folder with the new one? >> I change gdb with gdb7.2 and can successfully compile it. >> But I cannot find insight binary in my prefix/bin folder. >> >> it seems it is not enough just replace old gdb folder with the new one. >> Should I have to config something, right. >> BR, >> miloody > I don't know what you will need to change in the source tree. > > But the latest cvs should contain GDB 7.2. I am successfully using > insight cvs (2010/12/11) with GCC 4.5.2 (which needs the gdb 7.2) on a > ARM9 platform. > > Probably you should give this a try. Your suggestion did save ma a lot of time :) In the beginning, I saw the the latest version of Insight in snapshop ftp site is 20091130 and GDB7.2 is released at 2010 July. So I give a try to combine insight with GDB7.2. after watching your suggestion, I check out the latest one on CVS and it works now. Why snaptshot don't have the latest one? BTW, when type 'n' in console, the gdb only increase one assembly instruction, which act as 'si'. My platform is mips. Have anybody got the same experience as me? appreciate your kind help, miloody