]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/rl78/trace.c
bfd_section_* macros
[thirdparty/binutils-gdb.git] / sim / rl78 / trace.c
index fd999a15134d9177f6fb536d2b8595f163e87ad5..1a97527377b758b120b5856aeddb1a4156739f53 100644 (file)
@@ -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;
            }
        }