]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
(display_debug_lines, case default): Change second line setting adv to use = not +=
authorNick Clifton <nickc@redhat.com>
Thu, 26 Aug 1999 10:53:40 +0000 (10:53 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 26 Aug 1999 10:53:40 +0000 (10:53 +0000)
binutils/ChangeLog
binutils/readelf.c

index 1103281f4b76c09ed9cb1781c2aa3c100aa6d1f7..7e562b55eedd3d30b4992fbf186a029b951f1065 100644 (file)
@@ -1,3 +1,8 @@
+1999-08-26  Jim Wilson  <wilson@cygnus.com>
+
+       * readelf.c (display_debug_lines, case default): Change second line
+       setting adv to use = not +=.
+
 1999-08-19  Nick Clifton  <nickc@cygnus.com>
 
        * dlltool.c: Added more examples to the comment at the start.
index 678c8f39a92593b48083feb8feb4f852d54afee9..6b189b4ee6f2a2f175b53a3ada3ba47e555c405d 100644 (file)
@@ -4385,7 +4385,7 @@ display_debug_lines (section, start, file)
              state_machine_regs.address += adv;
              printf (_("  Special opcode %d: advance Address by %d to 0x%lx"),
                      op_code, adv, state_machine_regs.address);
-             adv    += (op_code % info.li_line_range) + info.li_line_base;
+             adv = (op_code % info.li_line_range) + info.li_line_base;
              state_machine_regs.line += adv;
              printf (_(" and Line by %d to %d\n"),
                      adv, state_machine_regs.line);