This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Get backtrace at PLT and stepi into PLT
On Wed, Jul 22, 2009 at 06:02:20PM +0800, Thinker Li wrote:
> Is it possible that entry point of an program is 0?
> Maybe, we should change interface of entry_point_address() to indicate
> an unknown address.
Yes, the entry can be zero. But we ought to be able to find an entry
address, even on Android.
I think things will work out well enough if we require the function
not to be zero for that check. It would be better if we could
differentiate a valid function at zero from an unknown function,
but we can't.
--
Daniel Jacobowitz
CodeSourcery