aboutsummaryrefslogtreecommitdiff
path: root/sim/rl78/trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/rl78/trace.c')
-rw-r--r--sim/rl78/trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/rl78/trace.c b/sim/rl78/trace.c
index fd999a1..1a97527 100644
--- a/sim/rl78/trace.c
+++ b/sim/rl78/trace.c
@@ -224,7 +224,7 @@ sim_get_current_source_location (const char ** pfilename,
if (s->flags & SEC_CODE || code_section == 0)
{
code_section = s;
- code_base = bfd_section_lma (current_bfd, s);
+ code_base = bfd_section_lma (s);
break;
}
}