summaryrefslogtreecommitdiffstats
path: root/contrib/gdb/gdb/remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gdb/gdb/remote.c')
-rw-r--r--contrib/gdb/gdb/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gdb/gdb/remote.c b/contrib/gdb/gdb/remote.c
index 36da449..7ff2cb8 100644
--- a/contrib/gdb/gdb/remote.c
+++ b/contrib/gdb/gdb/remote.c
@@ -4834,7 +4834,7 @@ compare_sections_command (char *args, int from_tty)
if (!(s->flags & SEC_LOAD))
continue; /* skip non-loadable section */
- size = bfd_get_section_size_before_reloc (s);
+ size = bfd_get_section_size (s);
if (size == 0)
continue; /* skip zero-length section */
OpenPOWER on IntegriCloud