From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17187 invoked by alias); 14 Aug 2006 21:04:42 -0000 Received: (qmail 17176 invoked by uid 22791); 14 Aug 2006 21:04:41 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 14 Aug 2006 21:04:33 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k7EL4T1o029167; Mon, 14 Aug 2006 17:04:29 -0400 Received: from localhost.localdomain (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k7EL4TJ8027457; Mon, 14 Aug 2006 17:04:29 -0400 Received: from [127.0.0.1] (sebastian-int.corp.redhat.com [172.16.52.221]) by localhost.localdomain (8.13.1/8.12.8) with ESMTP id k7EL4R5L019039; Mon, 14 Aug 2006 17:04:28 -0400 Message-ID: <44E0E55A.7080604@redhat.com> Date: Mon, 14 Aug 2006 21:04:00 -0000 From: Keith Seitz User-Agent: Thunderbird 1.5.0.5 (X11/20060719) MIME-Version: 1.0 To: Nik Shaylor CC: insight@sourceware.org Subject: Re: How to connect to running program via a serial port References: <20934fa50608141335y47525743mf862679fe1861118@mail.gmail.com> <44E0DFD8.5010208@redhat.com> <20934fa50608141401o7ac5a8dl71cc71b6957a17f@mail.gmail.com> In-Reply-To: <20934fa50608141401o7ac5a8dl71cc71b6957a17f@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2006-q3/txt/msg00024.txt.bz2 Nik Shaylor wrote: > If I do Open File->Target Settings > etc. still have to use the "Run" command and this always continues the > execution of the program which is just what I don't want it to do. Don't use the run button. Use the Run menu. One of the items should allow you to attach to the target. That does the equivalent of the "target remote" command on the command line. > The only way I seems to get it to work is to start Insight running > before the program wants to start talking to the debugger. This does > not really work for me because I'm using the serial port for program > trace information as well so I just want to start the debugger when I > can see from the trace that the program has got into trouble. This should work. Of course, now that I don't have access to a serial board of any type, problems are difficult to diagnose... Keith