From 6bc305f56c7f9612c87f7ba33d338de64560a725 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Mon, 16 Sep 2013 21:07:14 +0000 Subject: [PATCH] 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 * value.c (isvoid_internal_fn): Replace "parameter" with "argument". --- gdb/ChangeLog | 5 +++++ gdb/value.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f77295779b7..082425919e5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-09-16 Sergio Durigan Junior + + * value.c (isvoid_internal_fn): Replace "parameter" with + "argument". + 2013-09-16 Stan Shebs * README: Update references to writing code for GDB. diff --git a/gdb/value.c b/gdb/value.c index edbfc70fcc8..bc1239d05aa 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; -- 2.30.2