svn commit: r265456 - head/libexec/rtld-elf
bms at fastmail.net
Wed May 7 20:29:32 UTC 2014
On 07/05/2014 18:31, Mark Johnston wrote:
> 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.
I'm aware that the rtld code is otherwise unrelated to how Linux ELF
images are activated, and should have been clearer in my original
message. Sorry about that.
My question is really: is there an easy way of setting a "start of
program" breakpoint for such binaries e.g. where "_start" and/or "main"
are not exposed in the (nonexistent) symbol table?
Currently I have to inspect the ELF load address and set a breakpoint
manually in such cases. This is something which might be addressed by a
GDB macro, although we may not always be using GDB.
More information about the svn-src-head