diff mbox

[ARI/pushed] Fix ARI warning in gdb/arch/arm-get-next-pcs.c

Message ID 1450496184-23098-1-git-send-email-brobecker@adacore.com
State New
Headers show

Commit Message

Joel Brobecker Dec. 19, 2015, 3:36 a.m. UTC
Hello,

Just one tiny little change, fixing an ARI violation that was just
reported yesterday  night.

gdb/ChangeLog:

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

Pushed as obvious.

Thanks,
diff mbox

Patch

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b006ba8..c3245e4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/arch/arm-get-next-pcs.c b/gdb/arch/arm-get-next-pcs.c
index 59ea228..de578b5 100644
--- a/gdb/arch/arm-get-next-pcs.c
+++ b/gdb/arch/arm-get-next-pcs.c
@@ -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;
 	}
     }