projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[deliverable/binutils-gdb.git]
/
gdb
/
symfile.h
diff --git
a/gdb/symfile.h
b/gdb/symfile.h
index 39eb3080f13c9522d31e2f97da660cc29016a211..267146375c65b774b71c8b579157522fe1fcabd8 100644
(file)
--- a/
gdb/symfile.h
+++ b/
gdb/symfile.h
@@
-1,6
+1,6
@@
/* Definitions for reading symbol files into GDB.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
/* Definitions for reading symbol files into GDB.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- 2000, 2001
+ 2000, 2001
, 2002, 2003
Free Software Foundation, Inc.
This file is part of GDB.
Free Software Foundation, Inc.
This file is part of GDB.
@@
-25,6
+25,10
@@
/* This file requires that you first include "bfd.h". */
/* This file requires that you first include "bfd.h". */
+/* Opaque declarations. */
+
+struct obstack;
+
/* Partial symbols are stored in the psymbol_cache and pointers to them
are kept in a dynamically grown array that is obtained from malloc and
grown as necessary via realloc. Each objfile typically has two of these,
/* Partial symbols are stored in the psymbol_cache and pointers to them
are kept in a dynamically grown array that is obtained from malloc and
grown as necessary via realloc. Each objfile typically has two of these,
@@
-132,12
+136,12
@@
struct sym_fns
/* The default version of sym_fns.sym_offsets for readers that don't
do anything special. */
/* The default version of sym_fns.sym_offsets for readers that don't
do anything special. */
-extern void
-
default_symfile_offsets (struct objfile *objfile,
struct section_addr_info *);
+extern void
default_symfile_offsets (struct objfile *objfile,
+
struct section_addr_info *);
-extern void
-
extend_psymbol_list (struct psymbol_allocation_list *,
struct objfile *);
+extern void
extend_psymbol_list (struct psymbol_allocation_list *,
+
struct objfile *);
/* Add any kind of symbol to a psymbol_allocation_list. */
/* Add any kind of symbol to a psymbol_allocation_list. */
@@
-170,8
+174,10
@@
extern void add_symtab_fns (struct sym_fns *);
extern void init_entry_point_info (struct objfile *);
extern void init_entry_point_info (struct objfile *);
-extern void
-syms_from_objfile (struct objfile *, struct section_addr_info *, int, int);
+extern void syms_from_objfile (struct objfile *,
+ struct section_addr_info *,
+ struct section_offsets *, int,
+ int, int);
extern void new_symfile_objfile (struct objfile *, int, int);
extern void new_symfile_objfile (struct objfile *, int, int);
@@
-188,8
+194,7
@@
build_section_addr_info_from_section_table (const struct section_table *start,
/* Free all memory allocated by build_section_addr_info_from_section_table. */
/* Free all memory allocated by build_section_addr_info_from_section_table. */
-extern void
-free_section_addr_info (struct section_addr_info *);
+extern void free_section_addr_info (struct section_addr_info *);
extern struct partial_symtab *start_psymtab_common (struct objfile *,
extern struct partial_symtab *start_psymtab_common (struct objfile *,
@@
-208,7
+213,7
@@
extern void sort_symtab_syms (struct symtab *);
(and add a null character at the end in the copy).
Returns the address of the copy. */
(and add a null character at the end in the copy).
Returns the address of the copy. */
-extern char *obsavestring (char *, int, struct obstack *);
+extern char *obsavestring (c
onst c
har *, int, struct obstack *);
/* Concatenate strings S1, S2 and S3; return the new string.
Space is found in the symbol_obstack. */
/* Concatenate strings S1, S2 and S3; return the new string.
Space is found in the symbol_obstack. */
@@
-248,7
+253,7
@@
extern struct partial_symtab *allocate_psymtab (char *, struct objfile *);
extern void discard_psymtab (struct partial_symtab *);
extern void discard_psymtab (struct partial_symtab *);
-extern void find_lowest_section (bfd *, asection *,
PTR
);
+extern void find_lowest_section (bfd *, asection *,
void *
);
extern bfd *symfile_bfd_open (char *);
extern bfd *symfile_bfd_open (char *);
@@
-295,6
+300,9
@@
extern void symbol_file_add_main (char *args, int from_tty);
/* Clear GDB symbol tables. */
extern void symbol_file_clear (int from_tty);
/* Clear GDB symbol tables. */
extern void symbol_file_clear (int from_tty);
+extern bfd_byte *symfile_relocate_debug_section (bfd *abfd, asection *sectp,
+ bfd_byte *buf);
+
/* From dwarfread.c */
extern void
/* From dwarfread.c */
extern void
This page took
0.024301 seconds
and
4
git commands to generate.