Convert struct target_ops to C++
[deliverable/binutils-gdb.git] / gdb / s390-tdep.c
index 408bb875d20e2df1cea823245a00acc7af6b600d..227c70909ea67c422d7ebc254f50bd22a5aac9f2 100644 (file)
@@ -661,7 +661,7 @@ s390_load (struct s390_prologue_data *data,
   if (pv_is_constant (addr))
     {
       struct target_section *secp;
-      secp = target_section_by_addr (&current_target, addr.k);
+      secp = target_section_by_addr (target_stack, addr.k);
       if (secp != NULL
          && (bfd_get_section_flags (secp->the_bfd_section->owner,
                                     secp->the_bfd_section)
This page took 0.026662 seconds and 4 git commands to generate.