aboutsummaryrefslogtreecommitdiff
path: root/gdb/corelow.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/corelow.c')
-rw-r--r--gdb/corelow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/corelow.c b/gdb/corelow.c
index 5cd058d..6efbd60 100644
--- a/gdb/corelow.c
+++ b/gdb/corelow.c
@@ -617,8 +617,8 @@ core_target::get_core_register_section (struct regcache *regcache,
}
if (size != section_min_size && !variable_size_section)
{
- warning (_("Unexpected size of section `%s' in core file."),
- section_name.c_str ());
+ warning (_("Unexpected size of section `%s' in core file, expected `%i'."),
+ section_name.c_str (), section_min_size);
}
gdb::byte_vector contents (size);