aboutsummaryrefslogtreecommitdiff
path: root/gdb/aix-thread.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2004-05-04 17:40:40 +0000
committerJim Blandy <jimb@codesourcery.com>2004-05-04 17:40:40 +0000
commitedf61169009a4add7b95e1febbfc99bd10f03096 (patch)
tree6a9aece09a3335b557db8b15fd3e4554432278ca /gdb/aix-thread.c
parent2d6ed997cf05e20fd05eda0b2d552322e82211b4 (diff)
downloadgdb-edf61169009a4add7b95e1febbfc99bd10f03096.zip
gdb-edf61169009a4add7b95e1febbfc99bd10f03096.tar.gz
gdb-edf61169009a4add7b95e1febbfc99bd10f03096.tar.bz2
* aix-thread.c (fill_fprs): Fix off-by-one error comparing regno
with FPLAST_REGNUM.
Diffstat (limited to 'gdb/aix-thread.c')
-rw-r--r--gdb/aix-thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c
index 1c2063e..0ce285a 100644
--- a/gdb/aix-thread.c
+++ b/gdb/aix-thread.c
@@ -1262,7 +1262,7 @@ fill_fprs (double *vals)
{
int regno;
- for (regno = FP0_REGNUM; regno < FPLAST_REGNUM; regno++)
+ for (regno = FP0_REGNUM; regno <= FPLAST_REGNUM; regno++)
if (register_cached (regno))
regcache_collect (regno, vals + regno);
}