From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24651 invoked by alias); 17 Aug 2007 19:20:50 -0000 Received: (qmail 24596 invoked by uid 22791); 17 Aug 2007 19:20:49 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 17 Aug 2007 19:20:44 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id E8B86982A3; Fri, 17 Aug 2007 19:20:43 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id C2E3C98101; Fri, 17 Aug 2007 19:20:39 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1IM7N7-0000sv-7u; Fri, 17 Aug 2007 15:20:37 -0400 Date: Fri, 17 Aug 2007 19:20:00 -0000 From: Daniel Jacobowitz To: Larry Osborn Cc: gdb@sourceware.org Subject: Re: FW: GDB server configuration Message-ID: <20070817192037.GA3223@caradoc.them.org> Mail-Followup-To: Larry Osborn , gdb@sourceware.org References: <63C0A08D6E871C4599B3619112CF0DF96204BC@exchange.corp.asset-intertech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <63C0A08D6E871C4599B3619112CF0DF96204BC@exchange.corp.asset-intertech.com> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-08/txt/msg00134.txt.bz2 On Fri, Aug 17, 2007 at 02:11:58PM -0500, Larry Osborn wrote: > > Hello All, > > I'm new to gdb so I apologize in advance if these questions are > lame.  I'm trying to connect a JTAG device to GDB. This device does > not support either serial or tcp/ip so the remote connection won't > work. The interface is actually PCI. I was wondering if the > gdbserver would work. It is not clear to me from the documentation > if the server has to run on the embedded target or on the host. My gdbserver is specifically for remote debugging of userspace programs on Unix-like (or, now, Windows-like) systems. > desire is to have the debugger run on a window host, connected to > JTAG hardware, and then connected to a PowerPC target. If you can > point me to what I should read or any tips on this subject would be > very helpful. You need a "stub" which translates from the JTAG device's interface to GDB's remote protocol. You'll have to check with your tools vendor or JTAG vendor to see whether one exists; usually these are proprietary applications, since vendors are not willing to publish specs for their JTAG devices. I know CodeSourcery's tools support a bunch of JTAG units, but none which are PCI cards. -- Daniel Jacobowitz CodeSourcery