This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e7826da33d884c21bd1a036e71fe1002fae76ce4

commit e7826da33d884c21bd1a036e71fe1002fae76ce4
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Sat Dec 19 07:28:41 2015 +0400

    Fix ARI warning in gdb/arch/arm-get-next-pcs.c
    
    gdb/ChangeLog:
    
            * arch/arm-get-next-pcs.c (arm_get_next_pcs_raw): Remove trailing
            newline at end of error message.

Diff:
---
 gdb/ChangeLog               | 5 +++++
 gdb/arch/arm-get-next-pcs.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

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;
 	}
     }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]