From owner-freebsd-questions@FreeBSD.ORG Mon Jul 16 00:02:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E9A2516A404 for ; Mon, 16 Jul 2007 00:02:57 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by mx1.freebsd.org (Postfix) with ESMTP id 88CAD13C442 for ; Mon, 16 Jul 2007 00:02:57 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7] (may be forged)) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.06) with ESMTP id l6G02u0h000910 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 15 Jul 2007 17:02:57 -0700 X-Auth-Received: from [192.168.10.45] (c-24-10-12-194.hsd1.ca.comcast.net [24.10.12.194]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l6G02trj017525 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 15 Jul 2007 17:02:56 -0700 Message-ID: <469AB5AE.5090806@u.washington.edu> Date: Sun, 15 Jul 2007 17:02:54 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: Michael B Allen References: <78c6bd860707151653m19164d0djd119add0d3a039af@mail.gmail.com> In-Reply-To: <78c6bd860707151653m19164d0djd119add0d3a039af@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.2.304607, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.7.15.164833 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: freebsd-questions Subject: Re: Developer Questions (glibc i386 style backtraces) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2007 00:02:58 -0000 Michael B Allen wrote: > Hello Again, > > Is there a good list to ask developer questions about porting code to > FreeBSD? > > I have a good chunk of code to port and no doubt I will have numerous > questions about FreeBSD specific features like semaphores, posix > compliance, shared memory and so on. > > Actually my current issue is the glibc i386 backtrace function from > execinfo.h. It's not a show stopper if I can't have it but I would > very much like to have it even if it means writing custom code to walk > the stack myself. > > Any ideas? Googling doesn't seem to turn up anything which is to say I > guess FreeBSD doesn't have a backtrace function. > > Actually does FreeBSD use glibc? > > Mike FreeBSD is actually based off of libc, which is a completely different set of sources from glibc. I don't have any resources and I don't know right offhand whether or not libc has a backtrace function. You may want to ask this on the hackers@ list. Cheers, -Garrett