Use new %p format suffixes in gdb
[deliverable/binutils-gdb.git] / gdb / s390-tdep.c
index 871efc59bca0720d77ea9cf620eb5c8b3d4f9773..463c0a0bd73ff28654facf9c3849f9e034db2fd0 100644 (file)
@@ -697,9 +697,7 @@ s390_load (struct s390_prologue_data *data,
       struct target_section *secp;
       secp = target_section_by_addr (current_top_target (), addr.k);
       if (secp != NULL
-         && (bfd_get_section_flags (secp->the_bfd_section->owner,
-                                    secp->the_bfd_section)
-             & SEC_READONLY))
+         && (bfd_section_flags (secp->the_bfd_section) & SEC_READONLY))
        return pv_constant (read_memory_integer (addr.k, size,
                                                 data->byte_order));
     }
This page took 0.024549 seconds and 4 git commands to generate.