From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13768 invoked by alias); 7 Oct 2003 16:28:52 -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 13753 invoked from network); 7 Oct 2003 16:28:50 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 7 Oct 2003 16:28:50 -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 h97GSo130339 for ; Tue, 7 Oct 2003 12:28:50 -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 h97GSoc20103; Tue, 7 Oct 2003 12:28:50 -0400 Received: from [150.1.200.14] (vpn50-7.rdu.redhat.com [172.16.50.7]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id h97GSmbe027239; Tue, 7 Oct 2003 12:28:49 -0400 Subject: Re: [Bdm-devel] RE: Problems using Insight/GDB for Coldfire From: Keith Seitz To: Paul Whitfield Cc: "insight@sources.redhat.com" In-Reply-To: <3F82141F.9080506@microsol.iinet.net.au> References: <3F82141F.9080506@microsol.iinet.net.au> Content-Type: text/plain Organization: Message-Id: <1065544307.1591.3.camel@lindt.uglyboxes.com> Mime-Version: 1.0 Date: Tue, 07 Oct 2003 16:28:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2003-q4/txt/msg00027.txt.bz2 On Mon, 2003-10-06 at 18:17, Paul Whitfield wrote: > >>(gdb) tk gdb_target_has_execution > >>0 > > > > > >>(gdb) tk set ::gdb_running > >>0 This definitely indicates an error in the target support... > I took the code and added the line > > inferior_ptid = pid_to_ptid (42000); /* Make run command think we > are busy... */ Where did you put this? According to monitor.c, it should be set TARGET_open. > This now enables all the buttons. > > But if I attempt to load a new file, then get the following > sequence This might be the correct behavior. What exactly did you do? FWIW, JUST hit the Run button. It will attach, download, and continue the target (which is the most common way of using remote targets). > Insight tells me that a debugging session is in progress and do > I want to end it. > > Then when I attempt to load the file I get an error What error? > Also if I load my program by scripts and start everything > running I have the same problem when I hit the first > breakpoint, i.e. insight thinks that the target > is not running again. That doesn't altogether suprise me. But let's address these issues one at a time. Keith