From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24230 invoked by alias); 25 Mar 2003 16:35:20 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 24223 invoked from network); 25 Mar 2003 16:35:20 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 25 Mar 2003 16:35:20 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18xtHb-0006wp-00; Tue, 25 Mar 2003 12:36:23 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18xrO2-0004DG-00; Tue, 25 Mar 2003 11:34:54 -0500 Date: Tue, 25 Mar 2003 16:35:00 -0000 From: Daniel Jacobowitz To: John Groves Cc: gdb@sources.redhat.com Subject: Re: Cross-platform gdb/kgdb Message-ID: <20030325163453.GA16179@nevyn.them.org> Mail-Followup-To: John Groves , gdb@sources.redhat.com References: <3E7F7B94.2040104@Groves.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E7F7B94.2040104@Groves.net> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-03/txt/msg00337.txt.bz2 On Mon, Mar 24, 2003 at 03:41:40PM -0600, John Groves wrote: > I'm hoping someone can point me in the right direction...or tell me it > ain't worth trying... > > I need to do some kernel debugging with an HP IA-64 system (hpux), and > it's the only hpux box available. It would be cool to compile a > linux-resident gdb that would run as the kgdb control system for the > IA-64 hpux target. > > FYI (you may know) hp maintains "kwdb" which is gdb/kgdb for hpux, so I > have the code for the target system. But hp hasn't tried cross-platform. > > Q: Are the sources in the gdb build tree organized such that I can make > the target system include files available without them getting mixed up > with the host system includes? > > Having run "./configure --host=i386-unknown-linux --target=ia64-hp", I > note that files in the gdb directory need access to *target* system > include files; but I also see plenty of sources in that directory that > include stuff that should probably be local (fcntl, curses, stuff like > that). > > Q: If it's not completely futile, where could I look for an example or > any helpful info? It should work; however, I do not know whether ia64-hpux is supported. A cross debugger should _not_ need any headers from the target system to build. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer