diff options
Diffstat (limited to 'gdb/infcall.c')
-rw-r--r-- | gdb/infcall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c index 5f80e89..eb13f9a 100644 --- a/gdb/infcall.c +++ b/gdb/infcall.c @@ -599,7 +599,7 @@ call_function_by_hand (struct value *function, int nargs, struct value **args) type pointer to function or just a function. */ if (args[i]->lval == not_lval) { - char *arg_name; + const char *arg_name; if (find_pc_partial_function ((CORE_ADDR) args[i]->aligner.contents[0], &arg_name, NULL, NULL)) error ("\ You cannot use function <%s> as argument. \n\ |