diff options
author | Joel Brobecker <brobecker@gnat.com> | 2011-05-30 16:08:28 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2011-05-30 16:08:28 +0000 |
commit | c2949be03bf333bd3de59dc3260762d3201f6b79 (patch) | |
tree | 80e52c1dff813cf937545de3fcde79720edda2e0 /gdb | |
parent | 1c10be1e7a08859947e8362573998c5e07042ee6 (diff) | |
download | gdb-c2949be03bf333bd3de59dc3260762d3201f6b79.zip gdb-c2949be03bf333bd3de59dc3260762d3201f6b79.tar.gz gdb-c2949be03bf333bd3de59dc3260762d3201f6b79.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/infcall.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 83203a2..7a60b8e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/infcall.c b/gdb/infcall.c index 4063b7f..6553e2a 100644 --- a/gdb/infcall.c +++ b/gdb/infcall.c @@ -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); |