aboutsummaryrefslogtreecommitdiff
path: root/gdb/objc-lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/objc-lang.c')
-rw-r--r--gdb/objc-lang.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/gdb/objc-lang.c b/gdb/objc-lang.c
index 368e336..b1e5587 100644
--- a/gdb/objc-lang.c
+++ b/gdb/objc-lang.c
@@ -855,7 +855,7 @@ compare_selectors (const void *a, const void *b)
*/
static void
-selectors_info (char *regexp, int from_tty)
+selectors_info (const char *regexp, int from_tty)
{
struct objfile *objfile;
struct minimal_symbol *msymbol;
@@ -1006,7 +1006,7 @@ compare_classes (const void *a, const void *b)
*/
static void
-classes_info (char *regexp, int from_tty)
+classes_info (const char *regexp, int from_tty)
{
struct objfile *objfile;
struct minimal_symbol *msymbol;
@@ -1419,9 +1419,10 @@ find_methods (struct symtab *symtab, char type,
*ndebug = cdebug;
}
-char *find_imps (struct symtab *symtab, struct block *block,
- char *method, struct symbol **syms,
- unsigned int *nsym, unsigned int *ndebug)
+const char *
+find_imps (struct symtab *symtab, struct block *block,
+ const char *method, struct symbol **syms,
+ unsigned int *nsym, unsigned int *ndebug)
{
char type = '\0';
char *class = NULL;
@@ -1550,7 +1551,7 @@ char *find_imps (struct symtab *symtab, struct block *block,
}
void
-print_object_command (char *args, int from_tty)
+print_object_command (const char *args, int from_tty)
{
struct value *object, *function, *description;
CORE_ADDR string_addr, object_addr;