This is the mail archive of the
mailing list for the GDB project.
Re: [PATCH] Fix regcache_restore() handling of unavailable regs.
From: Pedro Alves <firstname.lastname@example.org>
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.