summaryrefslogtreecommitdiffstats
path: root/src/readelf.c
diff options
context:
space:
mode:
authorRoland McGrath <[email protected]>2009-07-08 14:08:32 -0700
committerRoland McGrath <[email protected]>2009-07-08 14:08:32 -0700
commitf7a6f037a3c67ebd2d970146d8e04d2c15b106ad (patch)
treec5372391c34a6e243751f2403f6f33f4336e4a6a /src/readelf.c
parentcfdd86ed929c137eaca5dd49cd266bb739c6cdbd (diff)
Fatfingers fix for commit dffc33d.
Diffstat (limited to 'src/readelf.c')
-rw-r--r--src/readelf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/readelf.c b/src/readelf.c
index c8bb2f08..e432bfc5 100644
--- a/src/readelf.c
+++ b/src/readelf.c
@@ -7063,6 +7063,7 @@ handle_core_registers (Ebl *ebl, Elf *core, const void *desc,
maxreg = reg;
struct register_info *info = &regs[reg];
info->regloc = &reglocs[i];
+ info->regno = reg;
info->set = register_info (ebl, reg, &reglocs[i],
info->name, &info->bits, &info->type);
}