* ppc-linux-nat.c (fetch_register): Move code back to be next

to the comment that describes it.  (Moved code, instead of
comment, for symmetry with store_register.)
This commit is contained in:
Jim Blandy
2004-05-21 23:30:48 +00:00
parent 617a4cbacf
commit 0397dee1d1
2 changed files with 5 additions and 1 deletions

View File

@@ -208,11 +208,11 @@ fetch_register (int tid, int regno)
{
struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
/* This isn't really an address. But ptrace thinks of it as one. */
CORE_ADDR regaddr = ppc_register_u_addr (regno);
char mess[128]; /* For messages */
int i;
unsigned int offset; /* Offset of registers within the u area. */
char buf[MAX_REGISTER_SIZE];
CORE_ADDR regaddr = ppc_register_u_addr (regno);
if (altivec_register_p (regno))
{