This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Prologue analysis interface
> The frame pointer bits do involve some target heuristics. I think we
> could do away with that, if we had reason to (i.e. an interesting
> target which didn't use a fixed register for this). But I'm not
> suggesting it until we have such a target, hopefully not for a long
> time.
Not sure if this is relevant, but the HPPA ABI says that when there
is a frame pointer, it is either in r3 or r4, depending on the frame
size (IIRC). GCC doesn't follow the ABI, and always uses r3, but I am
pretty sure that the HP C compiler does follow that convention...
--
Joel