From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8053 invoked by alias); 4 Aug 2005 16:18:11 -0000 Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org Received: (qmail 7152 invoked by uid 22791); 4 Aug 2005 16:17:41 -0000 Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 04 Aug 2005 16:17:41 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j74GHeRV022215 for ; Thu, 4 Aug 2005 12:17:40 -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 j74GHdV20938; Thu, 4 Aug 2005 12:17:39 -0400 Received: from localhost.localdomain (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id j74GHcED011505; Thu, 4 Aug 2005 12:17:39 -0400 Subject: Re: insight gdb debugger with Eclipse From: Keith Seitz To: j.burton@tiscali.it Cc: "insight@sources.redhat.com" In-Reply-To: <42D7AA4700035AE1@mail-5.mail.tiscali.sys> References: <42D7AA4700035AE1@mail-5.mail.tiscali.sys> Content-Type: text/plain Date: Thu, 04 Aug 2005 16:18:00 -0000 Message-Id: <1123172258.4358.4.camel@lindt.uglyboxes.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SW-Source: 2005-q3/txt/msg00047.txt.bz2 [back on list] On Thu, 2005-08-04 at 09:46 +0200, j.burton@tiscali.it wrote: > This is what I have... > In the image you can see I succesfully connected to the simulator... After > I opened the "hello.out" file for debugging... > > Commands you gave me (I hope they're commands) seems don't work.. > I insert "insight --version" into console of insight but the command is undefined.... > Probably I'm wrong...I must use them in a different way.... > > I also tryed to use them in windows' cmd shel but they don't work > > > I would use Eclipse or Insight....first will run will win my confidence > > Thanks a lot for your help.... "insight --version" is a command line option. You should be able to use this from the command shell, provided Insight is on your path. Alternatively, use "show version" from the console window while insight is running. To see if you can actually connect to the simulator properly, type (in the console window): (gdb) target sim (gdb) load (gdb) break main (gdb) run If that works, the line that is blue in your image should turn green, indicating the current PC is at that line. If that much works (and there are no errors printed to the console window), insight should work, too. You may have to set the target settings manually using File->Target Settings... (the target settings dialog). Keith