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]

FYI: fix typo in py-prettyprint


I'm checking this in.

I noticed a missing ">" from an error message in py-prettyprint.c.

Tom

2011-03-31  Tom Tromey  <tromey@redhat.com>

	* python/py-prettyprint.c (print_stack_unless_memory_error): Add
	missing ">" to message.

Index: python/py-prettyprint.c
===================================================================
RCS file: /cvs/src/src/gdb/python/py-prettyprint.c,v
retrieving revision 1.24
diff -u -r1.24 py-prettyprint.c
--- python/py-prettyprint.c	14 Mar 2011 15:43:51 -0000	1.24
+++ python/py-prettyprint.c	31 Mar 2011 16:21:06 -0000
@@ -288,7 +288,7 @@
       make_cleanup (xfree, msg);
 
       if (msg == NULL || *msg == '\0')
-	fprintf_filtered (stream, _("<error reading variable"));
+	fprintf_filtered (stream, _("<error reading variable>"));
       else
 	fprintf_filtered (stream, _("<error reading variable: %s>"), msg);
 


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