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 b006ba8..c3245e4 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 59ea228..de578b5 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;
        }
     }