aboutsummaryrefslogtreecommitdiff
path: root/gdb/s390-linux-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/s390-linux-tdep.c')
-rw-r--r--gdb/s390-linux-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/s390-linux-tdep.c b/gdb/s390-linux-tdep.c
index fcf93d7..0032c78 100644
--- a/gdb/s390-linux-tdep.c
+++ b/gdb/s390-linux-tdep.c
@@ -1144,7 +1144,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 (current_target, addr.k);
if (secp != NULL
&& (bfd_get_section_flags (secp->the_bfd_section->owner,
secp->the_bfd_section)