diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-06-03 20:54:43 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-06-03 20:54:43 +0000 |
commit | 1684382a9110efd6523ce304cb99c869053323c8 (patch) | |
tree | 40364f6d12e4c278425f9de47c2f4e15c98e8076 /gdb/symfile.h | |
parent | 2729fb2483899a9b69e0d73500c79373156f27a7 (diff) | |
download | gdb-1684382a9110efd6523ce304cb99c869053323c8.tar.gz |
Snap const char * mess.cvs/cagney_writestrings-20030508-branchcagney_writestrings-20030508-branch
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r-- | gdb/symfile.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h index 0e2f1ef096b..5a112244d1f 100644 --- a/gdb/symfile.h +++ b/gdb/symfile.h @@ -74,7 +74,7 @@ struct section_addr_info struct other_sections { CORE_ADDR addr; - char *name; + const char *name; int sectindex; } other[MAX_SECTIONS]; }; @@ -182,7 +182,7 @@ extern void syms_from_objfile (struct objfile *, extern void new_symfile_objfile (struct objfile *, int, int); -extern struct objfile *symbol_file_add (char *, int, +extern struct objfile *symbol_file_add (const char *, int, struct section_addr_info *, int, int); /* Build (allocate and populate) a section_addr_info struct from @@ -256,7 +256,7 @@ extern void discard_psymtab (struct partial_symtab *); extern void find_lowest_section (bfd *, asection *, void *); -extern bfd *symfile_bfd_open (char *); +extern bfd *symfile_bfd_open (const char *); extern int get_section_index (struct objfile *, char *); @@ -296,7 +296,7 @@ extern CORE_ADDR overlay_unmapped_address (CORE_ADDR, asection *); extern CORE_ADDR symbol_overlayed_address (CORE_ADDR, asection *); /* Load symbols from a file. */ -extern void symbol_file_add_main (char *args, int from_tty); +extern void symbol_file_add_main (const char *args, int from_tty); /* Clear GDB symbol tables. */ extern void symbol_file_clear (int from_tty); |