Use macros for TUI window names
[deliverable/binutils-gdb.git] / sim / m32c / trace.c
index 2d281886911eb7478b6ff20ec21c5e6911724e21..df28159422685c79e69f37291b3a6598ac1108b2 100644 (file)
@@ -1,6 +1,6 @@
 /* trace.c --- tracing output for the M32C simulator.
 
 /* trace.c --- tracing output for the M32C simulator.
 
-Copyright (C) 2005-2016 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.
 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;
          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.023122 seconds and 4 git commands to generate.