how to get linux debugging compatibility on freebsd 7.0-release

David Polak me at davidpolak.com
Wed Sep 24 11:53:01 UTC 2008


FreeBSD xxx.xxxxxxxx.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24
10:35:36 UTC 2008
root at driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

I am a little bit (ok, way) over my head here,  but I have a 32bit linux
binary that crashes on my amd64 system. If that isn't convoluted enough, it
is also running in a jail. Specifically, if anyone cares, it seems to be the
source metamod 3rd party add-on to valve software's source dedicated server.
I have provided the developer(s) of the mod a jailed test environment to
debug in with linux_base-fc4, but they are asking how to enable linux
debugging compatibility, but I have no idea how to do so, and my googling
attempts have only turned up old references to /usr/ports/devel/linux_devel
which doesn't seem to exist any more.

Here is exactly what he asked me:

>I haven't used FreeBSD since 4.4 or so.  I've installed gdb66 and
i386-rtems-gdb
>(whatever that is) in vain attempts to get Linux debugging compatibility
but to
>no avail.
>
>Do you know how to get that working or should I start going googling? :)

If you really want, you can view all the gory details here:
https://bugs.alliedmods.net/show_bug.cgi?id=3264

but my basic question is, what is the answer to his question of how to get
linux debugging compatibility?




More information about the freebsd-questions mailing list