Suppress ARI warnings for vsprintf
[deliverable/binutils-gdb.git] / sim / rl78 / trace.c
index 62abc2b7c19c7e0868dd85c89fd2f4221556fb4f..1a97527377b758b120b5856aeddb1a4156739f53 100644 (file)
@@ -1,6 +1,6 @@
 /* trace.c --- tracing output for the RL78 simulator.
 
 /* trace.c --- tracing output for the RL78 simulator.
 
-   Copyright (C) 2005-2017 Free Software Foundation, Inc.
+   Copyright (C) 2005-2019 Free Software Foundation, Inc.
    Contributed by Red Hat, Inc.
 
    This file is part of the GNU simulators.
    Contributed by Red Hat, Inc.
 
    This file is part of the GNU simulators.
@@ -224,7 +224,7 @@ sim_get_current_source_location (const char **  pfilename,
          if (s->flags & SEC_CODE || code_section == 0)
            {
              code_section = s;
          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;
            }
        }
              break;
            }
        }
This page took 0.024637 seconds and 4 git commands to generate.