FYI: fix typo in execute_stack_op

Tom Tromey tromey@redhat.com
Mon Mar 23 22:47:00 GMT 2009


I am checking this in.

While reading dwarf2expr.c, I ran across a typo in an error message.
There was an "i" missing from DW_OP_GNU_uninit.

Tom

2009-03-23  Tom Tromey  <tromey@redhat.com>

	* dwarf2expr.c (execute_stack_op) <DW_OP_GNU_uninit>: Fix typo in
	error message.

Index: dwarf2expr.c
===================================================================
RCS file: /cvs/src/src/gdb/dwarf2expr.c,v
retrieving revision 1.29
diff -u -r1.29 dwarf2expr.c
--- dwarf2expr.c	3 Jan 2009 05:57:51 -0000	1.29
+++ dwarf2expr.c	23 Mar 2009 20:30:20 -0000
@@ -746,7 +746,7 @@
 
 	case DW_OP_GNU_uninit:
 	  if (op_ptr != op_end)
-	    error (_("DWARF-2 expression error: DW_OP_GNU_unint must always "
+	    error (_("DWARF-2 expression error: DW_OP_GNU_uninit must always "
 		   "be the very last op."));
 
 	  ctx->initialized = 0;



More information about the Gdb-patches mailing list