This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: new port
> What should return target_frame_base_address? The base of the frame?
> Even when it is not a given register?
AFAIK, that's correct (again, look at the example of i386-tdep).
> Stack level 0, frame at 0x3fca:
> pc = 0x40 in add15 (main.c:8); saved pc 0x32a
> Outermost frame: unwinder did not report frame ID
> source language c.
> Arglist at 0x3fc4, args: a=25
> Locals at 0x3fc4, Previous frame's sp is 0x3fca
> Saved registers:
> pc at 0x3fca
> _______________________________________________
>
> What is shocking me is "Outermost frame: unwinder did not report frame ID"
> and "Previous frame's sp" which has the same value as "frame at".
I assume that frame 0 is for the call to "foo". What does "bt" say
in this situation?
--
Joel