From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25083 invoked by alias); 3 Oct 2002 15:40:22 -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 25055 invoked from network); 3 Oct 2002 15:40:21 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 3 Oct 2002 15:40:21 -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 g93FLK021793 for ; Thu, 3 Oct 2002 11:21:20 -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 g93FeKf03434; Thu, 3 Oct 2002 11:40:20 -0400 Received: from valrhona.uglyboxes.com (IDENT:ebm5C5ZO22x75bXSihp+rad8VPVGhzud@vpn50-40.rdu.redhat.com [172.16.50.40]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g93FeJ909752; Thu, 3 Oct 2002 11:40:19 -0400 Date: Thu, 03 Oct 2002 08:40:00 -0000 From: Keith Seitz X-X-Sender: keiths@valrhona.uglyboxes.com To: Masahide Tomita cc: insight@sources.redhat.com Subject: Re: Remote debug using Insight In-Reply-To: <009d01c26a9c$ddc96140$41dc280a@ABKNEECBCPCD65> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-q4/txt/msg00003.txt.bz2 On Thu, 3 Oct 2002, Masahide Tomita wrote: > I am quite new here in this ML, and in using Insight(gdb too.). Welcome. > My question is: How do I use Insight to debug program running on remote > host? Ok, there are a bunch of questions to which you must know the answer in order to debug a remote target: What's the communications protocol? This is the actual hardware communications between the host (running gdb/insight) and the target. Is it a serial connection? Ethernet? JTAG? For serial, you'll need to know what serial port the target is attached to and the baud rate. For ethernet, you'll need a hostname/IP address and port number. If you're using a JTAG box, you'll obviously need to know these parameters for the interface, not for the board proper, since GDB will be talking to the JTAG interface. What's the debug protocol? This could be the tougher one. GDB understands how to talk a bunch of different debug protocols, its own "remote" protocol, many monitors, a couple of JTAG, etc. On this one, I don't know how to help you out. You're going to have to find out what the board uses (if anything). Maybe you'll need to get a GDB debug stub/agent on the board? I don't know. You might ask on gdb@sources.redhat.com about your particular hardware if web searches don't turn anything up. Anyway, once you have this information, you can use the File->Target Settings... dialog to specify these things. Keith