Fix ARI warning in gdb/arch/arm-get-next-pcs.c
authorJoel Brobecker <brobecker@adacore.com>
Sat, 19 Dec 2015 03:28:41 +0000 (07:28 +0400)
committerJoel Brobecker <brobecker@adacore.com>
Sat, 19 Dec 2015 03:28:41 +0000 (07:28 +0400)
gdb/ChangeLog:

        * arch/arm-get-next-pcs.c (arm_get_next_pcs_raw): Remove trailing
        newline at end of error message.

gdb/ChangeLog
gdb/arch/arm-get-next-pcs.c

index b006ba8faf2e55fee792e096d46555c36c618dc7..c3245e4bde5520390697b1db5d74b3fa3a6ed4a2 100644 (file)
@@ -1,3 +1,8 @@
+2015-12-19  Joel Brobecker  <brobecker@adacore.com>
+
+       * arch/arm-get-next-pcs.c (arm_get_next_pcs_raw): Remove trailing
+       newline at end of error message.
+
 2015-12-18  Sandra Loosemore  <sandra@codesourcery.com>
 
        * event-top.c (command_handler): Don't require stdin to be a tty
index 59ea2281ff88a5f2bccde11e2fca5a43564ceeb8..de578b52dd74dc93a228d8f1ae0bd953c4c5aed7 100644 (file)
@@ -916,7 +916,7 @@ arm_get_next_pcs_raw (struct arm_get_next_pcs *self,
          break;
 
        default:
-         error (_("Bad bit-field extraction\n"));
+         error (_("Bad bit-field extraction"));
          return next_pcs;
        }
     }