summaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-06-03 20:54:43 +0000
committerAndrew Cagney <cagney@redhat.com>2003-06-03 20:54:43 +0000
commit1684382a9110efd6523ce304cb99c869053323c8 (patch)
tree40364f6d12e4c278425f9de47c2f4e15c98e8076 /gdb/symtab.h
parent2729fb2483899a9b69e0d73500c79373156f27a7 (diff)
downloadgdb-1684382a9110efd6523ce304cb99c869053323c8.tar.gz
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 4330b962257..fb5887a4294 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -1029,13 +1029,13 @@ extern struct symbol *find_pc_sect_function (CORE_ADDR, asection *);
/* lookup function from address, return name, start addr and end addr */
-extern int find_pc_partial_function (CORE_ADDR, char **, CORE_ADDR *,
+extern int find_pc_partial_function (CORE_ADDR, const char **, CORE_ADDR *,
CORE_ADDR *);
extern void clear_pc_function_cache (void);
-extern int find_pc_sect_partial_function (CORE_ADDR, asection *,
- char **, CORE_ADDR *, CORE_ADDR *);
+extern int find_pc_sect_partial_function (CORE_ADDR, asection *, const char **,
+ CORE_ADDR *, CORE_ADDR *);
/* from symtab.c: */
@@ -1219,29 +1219,29 @@ extern void resolve_sal_pc (struct symtab_and_line *);
/* Given a string, return the line specified by it. For commands like "list"
and "breakpoint". */
-extern struct symtabs_and_lines decode_line_spec (char *, int);
+extern struct symtabs_and_lines decode_line_spec (const char *, int);
-extern struct symtabs_and_lines decode_line_spec_1 (char *, int);
+extern struct symtabs_and_lines decode_line_spec_1 (const char *, int);
/* Symmisc.c */
-void maintenance_print_symbols (char *, int);
+void maintenance_print_symbols (const char *, int);
-void maintenance_print_psymbols (char *, int);
+void maintenance_print_psymbols (const char *, int);
-void maintenance_print_msymbols (char *, int);
+void maintenance_print_msymbols (const char *, int);
-void maintenance_print_objfiles (char *, int);
+void maintenance_print_objfiles (const char *, int);
-void maintenance_info_symtabs (char *, int);
+void maintenance_info_symtabs (const char *, int);
-void maintenance_info_psymtabs (char *, int);
+void maintenance_info_psymtabs (const char *, int);
-void maintenance_check_symtabs (char *, int);
+void maintenance_check_symtabs (const char *, int);
/* maint.c */
-void maintenance_print_statistics (char *, int);
+void maintenance_print_statistics (const char *, int);
extern void free_symtab (struct symtab *);
@@ -1320,7 +1320,7 @@ struct symbol_search
struct symbol_search *next;
};
-extern void search_symbols (char *, namespace_enum, int, char **,
+extern void search_symbols (const char *, namespace_enum, int, char **,
struct symbol_search **);
extern void free_search_symbols (struct symbol_search *);
extern struct cleanup *make_cleanup_free_search_symbols (struct symbol_search