aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2002-09-13 00:18:33 +0000
committerJoel Brobecker <brobecker@gnat.com>2002-09-13 00:18:33 +0000
commit3bada2a2df47a36a9c44e1cc50669124af7f6370 (patch)
treea2735f0ff1a831f40aeb185a32cfb0de59e67118 /gdb/value.h
parent4cfa75e2b22652457654ddbffc9b2e0b1d57b084 (diff)
downloadgdb-3bada2a2df47a36a9c44e1cc50669124af7f6370.zip
gdb-3bada2a2df47a36a9c44e1cc50669124af7f6370.tar.gz
gdb-3bada2a2df47a36a9c44e1cc50669124af7f6370.tar.bz2
* 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.
Diffstat (limited to 'gdb/value.h')
-rw-r--r--gdb/value.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/value.h b/gdb/value.h
index 448c222..efabecb 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -558,7 +558,7 @@ extern struct value *value_literal_complex (struct value *, struct value *,
extern void find_rt_vbase_offset (struct type *, struct type *, char *, int,
int *, int *);
-extern struct value *find_function_in_inferior (char *);
+extern struct value *find_function_in_inferior (const char *);
extern struct value *value_allocate_space_in_inferior (int);