From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27901 invoked by alias); 12 Jan 2008 19:57:09 -0000 Received: (qmail 27888 invoked by uid 22791); 12 Jan 2008 19:57:08 -0000 X-Spam-Check-By: sourceware.org Received: from smtp106.sbc.mail.mud.yahoo.com (HELO smtp106.sbc.mail.mud.yahoo.com) (68.142.198.205) by sourceware.org (qpsmtpd/0.31) with SMTP; Sat, 12 Jan 2008 19:56:49 +0000 Received: (qmail 53955 invoked from network); 12 Jan 2008 19:56:47 -0000 Received: from unknown (HELO ?192.168.0.10?) (timothy.davey@sbcglobal.net@75.32.50.221 with plain) by smtp106.sbc.mail.mud.yahoo.com with SMTP; 12 Jan 2008 19:56:47 -0000 X-YMail-OSG: oaR98hoVM1m0jblbZuXG9f2DuRXk0cT92ZZSkLrs3BAFHVFW Message-ID: <47891B77.7040905@vadtec.net> Date: Sat, 12 Jan 2008 19:57:00 -0000 From: Vadtec User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: gdb@sourceware.org Subject: Re: gdb OS ABI support References: <47890BA0.6070005@vadtec.net> <20080112194332.GA28094@caradoc.them.org> In-Reply-To: <20080112194332.GA28094@caradoc.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2008-01/txt/msg00086.txt.bz2 Daniel Jacobowitz wrote: > On Sat, Jan 12, 2008 at 12:49:04PM -0600, Vadtec wrote: > >> I am running on CentOS 5 (RHEL offshoot). I need to be able to back trace >> cores from a FreeBSD box. How can I compile the FreeBSD ELF OS ABI into my >> gdb so that I can do it on my CentOS box? >> > > Use --target. You'll also need to copy libraries from the FreeBSD > system and use "set sysroot". > > Ok, I am new to this. what do I provide to --target? --target=FreeBSD ? And what libraries will i need to copy from the fBSD system? What is the purpose of set sysroot in this case? Where do I use it? Inside gdb? On the shell? Thanks for the reply, I just need some more info to go on. I've never tried a cross system core back trace, so this is all new to me. Vadtec