Rephrase error message in infcall.c:call_function_by_hand

No real change besides the error message.

gdb/ChangeLog:

	* infcall.c (call_function_by_hand): Rephrase error message.
This commit is contained in:
Joel Brobecker 2011-05-30 16:08:28 +00:00
parent 1c10be1e7a
commit c2949be03b
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-05-30 Joel Brobecker <brobecker@adacore.com>
* infcall.c (call_function_by_hand): Rephrase error message.
2011-05-27 Pedro Alves <pedro@codesourcery.com>
* defs.h (struct thread_info, struct inferior): Delete forward

View File

@ -496,7 +496,7 @@ call_function_by_hand (struct value *function, int nargs, struct value **args)
error (_("May not call functions while looking at trace frames."));
if (execution_direction == EXEC_REVERSE)
error (_("May not call functions in reverse."));
error (_("Cannot call functions in reverse mode."));
frame = get_current_frame ();
gdbarch = get_frame_arch (frame);