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.
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to