From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6151 invoked by alias); 25 Sep 2002 15:34:11 -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 6122 invoked from network); 25 Sep 2002 15:34:09 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 25 Sep 2002 15:34:09 -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 g8PFGDi31239 for ; Wed, 25 Sep 2002 11:16:13 -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 g8PFY8f27075; Wed, 25 Sep 2002 11:34:08 -0400 Received: from valrhona.uglyboxes.com (IDENT:g1te8E2IydMod8h/wOJQaVBo8gafAqAL@vpn50-30.rdu.redhat.com [172.16.50.30]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g8PFY7J31556; Wed, 25 Sep 2002 11:34:07 -0400 Date: Wed, 25 Sep 2002 08:34:00 -0000 From: Keith Seitz X-X-Sender: keiths@valrhona.uglyboxes.com To: "Heik H. Hellmich" cc: insight@sources.redhat.com Subject: Re: step through code In-Reply-To: <3D9196F3.50E0A9F0@mikro.ee.tu-berlin.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-q3/txt/msg00192.txt.bz2 On Wed, 25 Sep 2002, Heik H. Hellmich wrote: > I am using Insight GNU gdb 5.1 (--host=sparc-sun-solaris2.6 > --target=powerpc-eabi) and have the problem that I cannot step through > the generated elf-code because the step/next/finish/continue buttons are > always greyed out for target=sim. I am able to load the elf-file and can > see the c-file and the corresponding asm-file in Insight's source > window. This usually happens when gdb fails to set an inferior pid (which is/was gdb's goofy way of knowing whether an inferior exists), but it could be anohter error getting in the way. If you enter "tk ManagedWin::open DebugWin" in the console window, it will open a debug window. Clear it before you click run and send the results after you have clicked run and it fails to do anything. Can you also send the results of typing "tk gdb_target_has_execution" and "tk set ::gdb_running". This will tell us if inferior_pid is set. I've tried this on CVS head, and it works on my ADS executable on the simulator. You could simply upgrade to 5.2 or 5.3 or just use CVS head sources. Keith