This is the mail archive of the gdb-patches@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]

Re: New ARI warning Sat Feb 11 01:55:01 UTC 2012


>>>>> ">" == GDB Administrator <gdbadmin@sourceware.org> writes:

>> 674a675,676
>> gdb/python/py-symbol.c:271: gettext: _ markup: All messages should
>> be marked up with _.
>> gdb/python/py-symbol.c:271:	    error ("invalid frame");
>> gdb/python/py-symbol.c:275: gettext: _ markup: All messages should
>> be marked up with _.
>> gdb/python/py-symbol.c:275: error ("symbol requires a frame to compute
>> its value");

I'm committing the appended to fix this issue.

Tom

2012-02-15  Tom Tromey  <tromey@redhat.com>

	* python/py-symbol.c (sympy_value): Use _().

Index: python/py-symbol.c
===================================================================
RCS file: /cvs/src/src/gdb/python/py-symbol.c,v
retrieving revision 1.13
diff -u -r1.13 py-symbol.c
--- python/py-symbol.c	7 Feb 2012 19:47:15 -0000	1.13
+++ python/py-symbol.c	15 Feb 2012 17:50:02 -0000
@@ -268,11 +268,11 @@
 	{
 	  frame_info = frame_object_to_frame_info (frame_obj);
 	  if (frame_info == NULL)
-	    error ("invalid frame");
+	    error (_("invalid frame"));
 	}
       
       if (symbol_read_needs_frame (symbol) && frame_info == NULL)
-	error ("symbol requires a frame to compute its value");
+	error (_("symbol requires a frame to compute its value"));
 
       value = read_var_value (symbol, frame_info);
     }


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