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: [PATCH] Fix regcache_restore() handling of unavailable regs.


From: Pedro Alves <pedro@codesourcery.com>
Date: Tue, 11 Oct 2011 11:44:49 +0100

> OOC, what register are you seeing as unavailable?

%wim and %tbr on sparc 32-bit

> Is this a case of ptrace not exposing all the machine's registers?

Yes, ptrace() does not provide these registers.  They really aren't
relevant for analyzing userland process execution at all.

They are, however, useful when debugging an operating system over
a serial line with GDB, and the Sparc infrastructure for that does
properly provide these registers.


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