Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jul 2007 17:02:54 -0700
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        Michael B Allen <ioplex@gmail.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Developer Questions (glibc i386 style backtraces)
Message-ID:  <469AB5AE.5090806@u.washington.edu>
In-Reply-To: <78c6bd860707151653m19164d0djd119add0d3a039af@mail.gmail.com>
References:  <78c6bd860707151653m19164d0djd119add0d3a039af@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?469AB5AE.5090806>