This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Xtensa GDB port -- revised patch


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]