X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fm32c%2Ftrace.c;h=df28159422685c79e69f37291b3a6598ac1108b2;hb=5fd104addfddb68844fb8df67be832ee98ad9888;hp=e507c978b831cbda66642e26a56e2d0e93561cf1;hpb=42a4f53d2bf8938c2aeda9f52be7a20534b214a9;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/m32c/trace.c b/sim/m32c/trace.c index e507c978b8..df28159422 100644 --- a/sim/m32c/trace.c +++ b/sim/m32c/trace.c @@ -1,6 +1,6 @@ /* trace.c --- tracing output for the M32C simulator. -Copyright (C) 2005-2019 Free Software Foundation, Inc. +Copyright (C) 2005-2020 Free Software Foundation, Inc. Contributed by Red Hat, Inc. This file is part of the GNU simulators. @@ -231,7 +231,7 @@ sim_disasm_one (void) 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; } }