[Crash-utility] [PATCHv2 09/11] Fix struct -o with an address and array count
Petr Tesarik
ptesarik at suse.cz
Mon Oct 21 19:50:49 UTC 2013
Previously, the array count was ignored with the "-o" option.
While I admit that repeating code is not "good style", the goto from
the middle of a loop was not nice either, and this variant removes
a dependency of the main loop on the "aflag" variable.
Signed-off-by: Petr Tesarik <ptesarik at suse.cz>
---
symbols.c | 34 +++++++++++++++++++++-------------
1 file changed, 21 insertions(+), 13 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: datatype-offsets.patch
Type: text/x-patch
Size: 2017 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20131021/84c9bc8a/attachment.bin>
More information about the Crash-utility
mailing list