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 | a9596cd98aa07c137ed362c7d92df64213b4fa04 (patch) | |
tree | 93d2aea2e0fa868da0f9b56626e5cfe8c2341869 /gdb/symfile.h | |
parent | 74eda9eb7acc3c2bd375826f92e8ca233d5f767a (diff) | |
download | binutils-cagney_writestrings-20030508-branch.zip binutils-cagney_writestrings-20030508-branch.tar.gz binutils-cagney_writestrings-20030508-branch.tar.bz2 |
Snap const char * mess.cagney_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 0e2f1ef..5a11224 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); |