]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Fatfingers fix for commit dffc33d.
authorRoland McGrath <roland@redhat.com>
Wed, 8 Jul 2009 21:08:32 +0000 (14:08 -0700)
committerRoland McGrath <roland@redhat.com>
Wed, 8 Jul 2009 21:08:32 +0000 (14:08 -0700)
src/readelf.c

index c8bb2f08ec32174234ed3d17a1994e6bae3a5025..e432bfc591a6513914507f68a8f582ef3cdac950 100644 (file)
@@ -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);
       }