diff options
author | Jim Blandy <jimb@codesourcery.com> | 2004-06-05 03:25:22 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2004-06-05 03:25:22 +0000 |
commit | dfb0fd366058a8428babae1e530d1e5c0aa18e7c (patch) | |
tree | 5c1b4f899ca026d9ae502a6ff11daa4513adb106 /gdb/ppc-linux-nat.c | |
parent | 72c84c5b9778927378602386a121c2410388664d (diff) | |
download | gdb-dfb0fd366058a8428babae1e530d1e5c0aa18e7c.tar.gz |
* ppc-linux-nat.c (fetch_register): Don't forget to pass the
gdbarch argument to register_size.
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 0700d84b40f..0567e288b2b 100644 --- a/gdb/ppc-linux-nat.c +++ b/gdb/ppc-linux-nat.c @@ -240,7 +240,7 @@ fetch_register (int tid, int regno) 32-bit platform, 64-bit floating-point registers will require two transfers. */ for (bytes_transferred = 0; - bytes_transferred < register_size (regno); + bytes_transferred < register_size (current_gdbarch, regno); bytes_transferred += sizeof (PTRACE_XFER_TYPE)) { errno = 0; |