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 stack.c (return_command).


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

commit d35b90fb6ec3374f4d5d8d19bb8e41c8b1970315
Author: Mark Wielaard <mjw@redhat.com>
Date:   Sat Jan 24 15:08:32 2015 +0100

    Fix ARI warning in stack.c (return_command).
    
    gdb/ChangeLog
    
        * stack.c (return_command): Markup warning message with _.

Diff:
---
 gdb/ChangeLog | 4 ++++
 gdb/stack.c   | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 837ce01..19e231f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2015-01-24  Mark Wielaard  <mjw@redhat.com>
+
+	* stack.c (return_command): Markup warning message with _.
+
 2015-01-24  Doug Evans  <xdje42@gmail.com>
 
 	* gdbtypes.h (TYPE_TYPE_SPECIFIC): Delete.
diff --git a/gdb/stack.c b/gdb/stack.c
index 5f2a3dc..5831999 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -2464,7 +2464,7 @@ return_command (char *retval_exp, int from_tty)
       else
 	{
 	  if (TYPE_NO_RETURN (thisfun->type))
-	    warning ("Function does not return normally to caller.");
+	    warning (_("Function does not return normally to caller."));
 	  confirmed = query (_("%sMake %s return now? "), query_prefix,
 			     SYMBOL_PRINT_NAME (thisfun));
 	}


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