aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio Durigan Junior <sergiodj@redhat.com>2013-09-16 21:07:14 +0000
committerSergio Durigan Junior <sergiodj@redhat.com>2013-09-16 21:07:14 +0000
commit6bc305f56c7f9612c87f7ba33d338de64560a725 (patch)
tree2fc4e9d1cc90f477cdafca7ebbf940ab3f530319
parent0a7cfe2cf50b450d0cf9db16ee4bd027e08763e8 (diff)
downloadgdb-6bc305f56c7f9612c87f7ba33d338de64560a725.zip
gdb-6bc305f56c7f9612c87f7ba33d338de64560a725.tar.gz
gdb-6bc305f56c7f9612c87f7ba33d338de64560a725.tar.bz2
The error message in the function was saying
"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".
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/value.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f772957..0824259 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/value.c b/gdb/value.c
index edbfc70..bc1239d 100644
--- a/gdb/value.c
+++ b/gdb/value.c
@@ -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;