From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13123 invoked by alias); 12 Jan 2008 20:23:58 -0000 Received: (qmail 13115 invoked by uid 22791); 12 Jan 2008 20:23:57 -0000 X-Spam-Check-By: sourceware.org Received: from smtp111.sbc.mail.mud.yahoo.com (HELO smtp111.sbc.mail.mud.yahoo.com) (68.142.198.210) by sourceware.org (qpsmtpd/0.31) with SMTP; Sat, 12 Jan 2008 20:23:38 +0000 Received: (qmail 82758 invoked from network); 12 Jan 2008 20:23:36 -0000 Received: from unknown (HELO ?192.168.0.10?) (timothy.davey@sbcglobal.net@75.32.50.221 with plain) by smtp111.sbc.mail.mud.yahoo.com with SMTP; 12 Jan 2008 20:23:36 -0000 X-YMail-OSG: vv4ofXEVM1nzWie_fWfyzWJvlC_73AjOjKiemkCtKjiQnIFq Message-ID: <478921C0.1070607@vadtec.net> Date: Sat, 12 Jan 2008 20:23: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> <47891B77.7040905@vadtec.net> <20080112201556.GA29871@caradoc.them.org> In-Reply-To: <20080112201556.GA29871@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/msg00088.txt.bz2 Daniel Jacobowitz wrote: > On Sat, Jan 12, 2008 at 01:56:39PM -0600, Vadtec wrote: > >> 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. >> > > Pretty much all of this is covered in the GDB manual. If you run GDB > on the FreeBSD system its startup message will probably tell you what > target to use. > > I have read the gdb manual and to my dismay I havent seem to found this information. I would run it on the fBSD system accept for the fact I dont have access to it and the person who does is currently on vacation. If you can point me to where I can find this information, I am sure I can figure it out. I am just at a dead spot it seems. Vadtec