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".
This commit is contained in:
Sergio Durigan Junior 2013-09-16 21:07:14 +00:00
parent 0a7cfe2cf5
commit 6bc305f56c
2 changed files with 6 additions and 1 deletions

View 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.

View 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;