This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit/obvious] Fix wording of $_isvoid error message
- From: Sergio Durigan Junior <sergiodj at redhat dot com>
- To: GDB Patches <gdb-patches at sourceware dot org>
- Cc: Pedro Alves <palves at redhat dot com>
- Date: Mon, 16 Sep 2013 18:09:12 -0300
- Subject: [commit/obvious] Fix wording of $_isvoid error message
- Authentication-results: sourceware.org; auth=none
Hi,
This is obvious, I have checked it in. Pedro kindly pointed that the
error message for $_isvoid should be using "argument" instead of
"parameter", so I just replaced it.
https://sourceware.org/ml/gdb-cvs/2013-09/msg00093.html
Thanks,
--
Sergio
Index: gdb/ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.16000
diff -u -r1.16000 ChangeLog
--- gdb/ChangeLog 16 Sep 2013 18:00:33 -0000 1.16000
+++ gdb/ChangeLog 16 Sep 2013 21:06:07 -0000
@@ -1,3 +1,8 @@
+2013-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * value.c (isvoid_internal_fn): Replace "parameter" with
+ "argument".
+
2013-09-16 Stan Shebs <stan@codesourcery.com>
* README: Update references to writing code for GDB.
Index: gdb/value.c
===================================================================
RCS file: /cvs/src/src/gdb/value.c,v
retrieving revision 1.183
diff -u -r1.183 value.c
--- gdb/value.c 16 Sep 2013 17:47:30 -0000 1.183
+++ gdb/value.c 16 Sep 2013 21:06:07 -0000
@@ -3594,7 +3594,7 @@
int ret;
if (argc != 1)
- error (_("You must provide one parameter for $_isvoid."));
+ error (_("You must provide one argument for $_isvoid."));
ret = TYPE_CODE (value_type (argv[0])) == TYPE_CODE_VOID;