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: [parisc-linux] [hppa patch] Fix register definitions for hppa


On 8/3/07, Randolph Chung <randolph@tausq.org> wrote:
> Remember that gdb is reading the cr27 of the debuggee, not of itself, so
> __set_cr27 is irrelevant.

Is it usefull to be able to adjust the inferior's thread register?

>  From the architecture point of view, CR26 and CR27 are only readable
> from userspace, so gdb should not enable somebody to set them from
> inside gdb.

Would it be usefull to adjust the thread register when debugging glibc?

Cheers,
Carlos.


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