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:
parent
1c10be1e7a
commit
c2949be03b
2 changed files with 5 additions and 1 deletions
|
@ -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>
|
2011-05-27 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
* defs.h (struct thread_info, struct inferior): Delete forward
|
* defs.h (struct thread_info, struct inferior): Delete forward
|
||||||
|
|
|
@ -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."));
|
error (_("May not call functions while looking at trace frames."));
|
||||||
|
|
||||||
if (execution_direction == EXEC_REVERSE)
|
if (execution_direction == EXEC_REVERSE)
|
||||||
error (_("May not call functions in reverse."));
|
error (_("Cannot call functions in reverse mode."));
|
||||||
|
|
||||||
frame = get_current_frame ();
|
frame = get_current_frame ();
|
||||||
gdbarch = get_frame_arch (frame);
|
gdbarch = get_frame_arch (frame);
|
||||||
|
|
Loading…
Reference in a new issue