dump: Introduce shdr_num to decrease complexity
authorJanosch Frank <frankja@linux.ibm.com>
Wed, 30 Mar 2022 12:35:57 +0000 (12:35 +0000)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 22 Apr 2022 09:36:03 +0000 (13:36 +0400)
commit862a395858e5a302ed5921487777acdc95a3a31b
tree7229300921db1f4edc2f0656e008215c34ba4113
parent046bc4160bc780eaacc2d702a2589f1a7a01188d
dump: Introduce shdr_num to decrease complexity

Let's move from a boolean to a int variable which will later enable us
to store the number of sections that are in the dump file.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220330123603.107120-4-frankja@linux.ibm.com>
dump/dump.c
include/sysemu/dump.h