cvs commit: src/libexec/rtld-elf rtld.c src/usr.bin/kdump kdump.c

Alexander Leidinger Alexander at Leidinger.net
Tue Jan 9 20:47:49 UTC 2007


Quoting John Baldwin <jhb at freebsd.org> (Tue, 9 Jan 2007 13:13:49 -0500):

> On Tuesday 09 January 2007 12:50, John Baldwin wrote:
> > jhb         2007-01-09 17:50:05 UTC
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> >     libexec/rtld-elf     rtld.c 
> >     usr.bin/kdump        kdump.c 
> >   Log:
> >   Add various utrace's for use with ktrace to the ELF runtime linker.  To
> >   activate the traces, set the LD_UTRACE (or LD_32_UTRACE) environment
> >   variable.  This also includes code in kdump(8) to parse the traces.
> >   
> >   Reviewed by:    kan, jdp
> >   MFC after:      2 weeks
> 
> Some sample output:
[snip]

Do you have by chance an idea how to teach ktrace/kdump to DTRT with
traces of linux binaries? ATM we have the devel/linux_kdump port, and I
already tried to update it to a more recent kdump, but I got
sidetracked and my priority for the update has decreased a lot (apart
from that, it's tedious). A version which doesn't require a linux gcc
to build (the linux gcc is used to preprocess some linux header files,
linux_kdump itself is a FreeBSD executable) and is part of the FreeBSD
basesystem would be very nice.

In case someone wants to continue where I stopped with the port:
http://www.Leidinger.net/FreeBSD/port-patches/devel:linux_kdump.diff

Bye,
Alexander.

-- 
Lt. Dan: "Have you found Jesus yet Gump?" 
Forrest Gump: "I didn't know I was supposed to be looking
for him - Sir!" 
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID = 72077137


More information about the cvs-src mailing list