Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 May 2014 13:31:42 -0400
From:      Mark Johnston <markj@freebsd.org>
To:        Bruce Simpson <bms@fastmail.net>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers <src-committers@freebsd.org>
Subject:   Re: svn commit: r265456 - head/libexec/rtld-elf
Message-ID:  <CAMw1wOyMgx9fVWDgg8qzxwkhoaPmWAsMiUx9dNOXeov0Lf_qwQ@mail.gmail.com>
In-Reply-To: <536A239A.8020502@fastmail.net>
References:  <201405061807.s46I7xxt048377@svn.freebsd.org> <536A239A.8020502@fastmail.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 7, 2014 at 8:14 AM, Bruce Simpson <bms@fastmail.net> wrote:
> Mark,
>
>
> On 06/05/2014 19:07, Mark Johnston wrote:
>>
>> Log:
>>    Add a postinit debugger hook to rtld. This will be used by dtrace(1) to
>> halt
>>    the victim process before its entry point is called, at which point
>> probes
>>    and DOF data are registered with the kernel.
>
>
> I recently had a situation where I had to run gdb on a static (and stripped)
> Linux binary, under the Linuxolator. Perhaps this change can be used there
> too?

The Linuxulator makes use of Linux's loader rather than rtld; this was
the source of the problem fixed in r254018, for example.

Static binaries are not invoked through rtld either, so I don't think
this change would have helped anyway. :)

-Mark



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