From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19485 invoked by alias); 12 Jan 2008 20:42:22 -0000 Received: (qmail 19476 invoked by uid 22791); 12 Jan 2008 20:42:21 -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; Sat, 12 Jan 2008 20:42:02 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 262BA98223; Sat, 12 Jan 2008 20:42:00 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 075C19811D; Sat, 12 Jan 2008 20:42:00 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1JDnB1-0008Bm-2F; Sat, 12 Jan 2008 15:41:59 -0500 Date: Sat, 12 Jan 2008 20:42:00 -0000 From: Daniel Jacobowitz To: Vadtec Cc: gdb@sourceware.org Subject: Re: gdb OS ABI support Message-ID: <20080112204159.GA31406@caradoc.them.org> Mail-Followup-To: Vadtec , gdb@sourceware.org References: <47890BA0.6070005@vadtec.net> <20080112194332.GA28094@caradoc.them.org> <47891B77.7040905@vadtec.net> <20080112201556.GA29871@caradoc.them.org> <478921C0.1070607@vadtec.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <478921C0.1070607@vadtec.net> User-Agent: Mutt/1.5.17 (2007-12-11) 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: 2008-01/txt/msg00089.txt.bz2 On Sat, Jan 12, 2008 at 02:23:28PM -0600, Vadtec wrote: >>> 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? --target=i386-freebsd should work, but you might need to add an X.Y version to the end of it. You will need the binary and the system libraries, because otherwise GDB won't be able to find symbols. They have to match exactly. And please search the GDB manual for "set sysroot", and ask a specific question if that is not clear. -- Daniel Jacobowitz CodeSourcery