bfd_section_* macros
[deliverable/binutils-gdb.git] / gdb / linux-tdep.c
index ff888a90678b0cbb3932a609cd347eeb9c3367ce..63a9bd32dfd3f066640d947e1fb57e30e4fd07c9 100644 (file)
@@ -1046,7 +1046,7 @@ linux_core_info_proc_mappings (struct gdbarch *gdbarch, const char *args)
 
   addr_size_bits = gdbarch_addr_bit (core_gdbarch);
   addr_size = addr_size_bits / 8;
-  note_size = bfd_get_section_size (section);
+  note_size = bfd_section_size (section);
 
   if (note_size < 2 * addr_size)
     error (_("malformed core note - too short for header"));
This page took 0.027179 seconds and 4 git commands to generate.