summaryrefslogtreecommitdiffstats
path: root/contrib/gdb/gdb/remote.c
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2010-10-22 18:08:37 +0000
committerdim <dim@FreeBSD.org>2010-10-22 18:08:37 +0000
commitb18c51783b2fc6ffd70b245d26539d9a0128e136 (patch)
tree54fa702687a80f5cc8846eea23f11ec7249a1385 /contrib/gdb/gdb/remote.c
parentdd15197af95f72e7f9603ee161de74f88e3cf2cf (diff)
downloadFreeBSD-src-b18c51783b2fc6ffd70b245d26539d9a0128e136.zip
FreeBSD-src-b18c51783b2fc6ffd70b245d26539d9a0128e136.tar.gz
Fix gdb compilation with new binutils:
bfd_get_section_size_before_reloc() has been renamed to bfd_get_section_size().
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