This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: new port
I finally resolved my problem. It was caused by "this_id" which was not set
as soon as the prologue begins but some instructions later.
Regards.
Florent
2009/5/25 Florent DEFAY <spira.inhabitant@gmail.com>:
> Thank you for reply.
>
>>> 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?
>
> "Stack level 0" is returned whatever the function, whatever the real
> stack level.
> bt says
> #0 ?main () at main.c:44
> in main and
> #0 ?foo (a=25) at main.c:6
> in foo.
>
> Regards.
>
> Florent
>