The error message in the function was saying
authorSergio Durigan Junior <sergiodj@redhat.com>
Mon, 16 Sep 2013 21:07:14 +0000 (21:07 +0000)
committerSergio Durigan Junior <sergiodj@redhat.com>
Mon, 16 Sep 2013 21:07:14 +0000 (21:07 +0000)
"You should provide one parameter..." while it should be saying "... one
argument...".  Replaced.

2013-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>

* value.c (isvoid_internal_fn): Replace "parameter" with
"argument".

gdb/ChangeLog
gdb/value.c

index f772957..0824259 100644 (file)
@@ -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 edbfc70..bc1239d 100644 (file)
@@ -3594,7 +3594,7 @@ isvoid_internal_fn (struct gdbarch *gdbarch,
   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;