aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJanosch Frank <frankja@linux.ibm.com>2022-03-30 12:35:57 +0000
committerMarc-André Lureau <marcandre.lureau@redhat.com>2022-04-22 13:36:03 +0400
commit862a395858e5a302ed5921487777acdc95a3a31b (patch)
tree7229300921db1f4edc2f0656e008215c34ba4113 /include
parent046bc4160bc780eaacc2d702a2589f1a7a01188d (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/sysemu/dump.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sysemu/dump.h b/include/sysemu/dump.h
index b463fc9c02..19458bffbd 100644
--- a/include/sysemu/dump.h
+++ b/include/sysemu/dump.h
@@ -155,7 +155,7 @@ typedef struct DumpState {
ArchDumpInfo dump_info;
MemoryMappingList list;
uint32_t phdr_num;
- bool have_section;
+ uint32_t shdr_num;
bool resume;
bool detached;
ssize_t note_size;