[patch] Fix uninitialized Dwarf_Frame->regs

Roland McGrath roland at hack.frob.com
Mon Oct 8 19:42:18 UTC 2012


Use assert rather than just a comment for the reg_unspecified==0
assumption.  Usual style is 'sizeof fs->regs[0]'.  Also, I'd do the
initialization on BIGGER and before 'fs = bigger;' so the assignment
indicates it is ready to use.

OK with those changes.


Thanks,
Roland


More information about the elfutils-devel mailing list