diff options
author | Jim Blandy <jimb@codesourcery.com> | 2004-05-21 23:30:48 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2004-05-21 23:30:48 +0000 |
commit | 87b02c883b39d0cf284e15a5429fab25cfb12de0 (patch) | |
tree | 1aa334ee37c14878d2670599b8c1116fb7e4aa0a /gdb/ppc-linux-nat.c | |
parent | 41c12290245e766bd885fc8fcfe7381d3b5caa4d (diff) | |
download | gdb-87b02c883b39d0cf284e15a5429fab25cfb12de0.tar.gz |
* 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.)
Diffstat (limited to 'gdb/ppc-linux-nat.c')
-rw-r--r-- | gdb/ppc-linux-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ppc-linux-nat.c b/gdb/ppc-linux-nat.c index efd686544d1..123ce91f457 100644 --- a/gdb/ppc-linux-nat.c +++ b/gdb/ppc-linux-nat.c @@ -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)) { |