Date: Mon, 16 Jul 2007 11:09:00 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Michael B Allen <ioplex@gmail.com> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: Developer Questions (glibc i386 style backtraces) Message-ID: <20070716090900.GB72910@slackbox.xs4all.nl> In-Reply-To: <78c6bd860707151653m19164d0djd119add0d3a039af@mail.gmail.com> References: <78c6bd860707151653m19164d0djd119add0d3a039af@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--RASg3xLB4tUQ4RcS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 15, 2007 at 07:53:35PM -0400, Michael B Allen wrote: > Hello Again, >=20 > Is there a good list to ask developer questions about porting code to=20 > FreeBSD? -questions, or maybe -hackers if it gets really complicated. > 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. For shared memory, look at /usr/include/sys/shm.h. For semaphores, see /usr/include/sys/sem.h. There is a lot of documentation available on the FreeBSD website; http://www.freebsd.org/docs/books.html=20 In your case, the Developers' Handbook might come in handy. It is also available on the system btw, in /usr/share/doc/en_US.ISO8859-1 > 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. I think that the glib library has this. It turns up a backtrace.h on my sys= tem. There is no execinfo.h file on my system. =20 > Any ideas? Googling doesn't seem to turn up anything which is to say I > guess FreeBSD doesn't have a backtrace function. A quick search of the base system doesn't turn anything up. But debuggers like gdb work, so there has to be a way to do it. > Actually does FreeBSD use glibc? Nope. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --RASg3xLB4tUQ4RcS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFGmzWsEnfvsMMhpyURAploAJ94uJTov/PC6psSHZBxqOUBowsbUACfY0lw 8a3Q7136r000+7oOkL9b/So= =xVgw -----END PGP SIGNATURE----- --RASg3xLB4tUQ4RcS--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070716090900.GB72910>