Xtensa GDB port -- revised patch
Daniel Jacobowitz
drow@false.org
Sat Nov 11 01:40:00 GMT 2006
On Fri, Nov 10, 2006 at 05:21:07PM -0800, Maxim Grigoriev wrote:
> I understood your concern is that the register number within the next
> frame is not set ( *realnump ). On Xtensa, it's going to be unchanged
> from the previous frame's value.
>
> Question: is replacing of
>
> frame_register_unwind (next_frame, regnum,
> optimizedp, lvalp, addrp, realnump, valuep);
>
> with
>
> *optimizedp = 0;
> *lvalp = lval_register;
> *addrp = 0;
> *realnump = regnum;
> if (valuep)
> frame_unwind_register (next_frame, (*realnump), valuep);
>
> the fix you are looking for ? I tested it. It works fine.
Yes, I think that's right.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb-patches
mailing list