From 3bada2a2df47a36a9c44e1cc50669124af7f6370 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Fri, 13 Sep 2002 00:18:33 +0000 Subject: * value.h (find_function_in_inferior): Add const keyword to one of the parameters. Allows us to invoke this function with a const char *. * valops.c (find_function_in_inferior): Likewise. --- gdb/valops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/valops.c') diff --git a/gdb/valops.c b/gdb/valops.c index 1eeedd3..b2199cb 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -95,7 +95,7 @@ int unwind_on_signal_p = 0; /* Find the address of function name NAME in the inferior. */ struct value * -find_function_in_inferior (char *name) +find_function_in_inferior (const char *name) { register struct symbol *sym; sym = lookup_symbol (name, 0, VAR_NAMESPACE, 0, NULL); -- cgit v1.1