This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFC:avr] use regcache instead of read_register



I guess a similar change to d10v_read_pc.

Just noticed that the d10v seems to use d10v_unwind_sp instead of
*_read_sp. Is it a direct replacement to replace *_read_sp with
*_unwind_sp? I didn't see that before I did the commit.

There's currently a catch.


GDB doesn't have a consistent story over what ``info frame'' and "$sp" should display for the "sp". Like the old "$fp", it can end up displaying inconsistent values. I've a partial patch to fix it, need to go back though. However, in the mean time, you can remove read_sp and see what happens.

Andrew



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