* dwarf2read.c (read_comp_unit, sibling_die, dump_die,
dump_die_list, store_in_ref_table, follow_die_ref): Make these static; they're private functions.
This commit is contained in:
parent
99a814a1cc
commit
f9aca02d5a
2 changed files with 19 additions and 13 deletions
|
@ -1,3 +1,9 @@
|
|||
2001-07-02 Jim Blandy <jimb@redhat.com>
|
||||
|
||||
* dwarf2read.c (read_comp_unit, sibling_die, dump_die,
|
||||
dump_die_list, store_in_ref_table, follow_die_ref): Make these
|
||||
static; they're private functions.
|
||||
|
||||
2001-07-01 Mark Elbrecht <snowball@bigfoot.com>
|
||||
|
||||
* coffread.c (coff_symfile_read): Parse DWARF2 info if present.
|
||||
|
@ -94,7 +100,6 @@
|
|||
* coff-solib.c: Include symfile.h and objfiles.h to make
|
||||
OBJF_SHARED visible.
|
||||
|
||||
>>>>>>> 1.1391
|
||||
2001-06-28 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
* configure.in (--enable-gdbmi): Enable by default.
|
||||
|
|
|
@ -727,7 +727,8 @@ static void read_tag_string_type (struct die_info *, struct objfile *);
|
|||
static void read_subroutine_type (struct die_info *, struct objfile *,
|
||||
const struct comp_unit_head *);
|
||||
|
||||
struct die_info *read_comp_unit (char *, bfd *, const struct comp_unit_head *);
|
||||
static struct die_info *read_comp_unit (char *, bfd *,
|
||||
const struct comp_unit_head *);
|
||||
|
||||
static void free_die_list (struct die_info *);
|
||||
|
||||
|
@ -756,19 +757,19 @@ static char *dwarf_cfi_name (unsigned int);
|
|||
struct die_info *copy_die (struct die_info *);
|
||||
#endif
|
||||
|
||||
struct die_info *sibling_die (struct die_info *);
|
||||
static struct die_info *sibling_die (struct die_info *);
|
||||
|
||||
void dump_die (struct die_info *);
|
||||
static void dump_die (struct die_info *);
|
||||
|
||||
void dump_die_list (struct die_info *);
|
||||
static void dump_die_list (struct die_info *);
|
||||
|
||||
void store_in_ref_table (unsigned int, struct die_info *);
|
||||
static void store_in_ref_table (unsigned int, struct die_info *);
|
||||
|
||||
static void dwarf2_empty_hash_tables (void);
|
||||
|
||||
static unsigned int dwarf2_get_ref_die_offset (struct attribute *);
|
||||
|
||||
struct die_info *follow_die_ref (unsigned int);
|
||||
static struct die_info *follow_die_ref (unsigned int);
|
||||
|
||||
static struct type *dwarf2_fundamental_type (struct objfile *, int);
|
||||
|
||||
|
@ -2899,7 +2900,7 @@ read_base_type (struct die_info *die, struct objfile *objfile)
|
|||
|
||||
/* Read a whole compilation unit into a linked list of dies. */
|
||||
|
||||
struct die_info *
|
||||
static struct die_info *
|
||||
read_comp_unit (char *info_ptr, bfd *abfd,
|
||||
const struct comp_unit_head *cu_header)
|
||||
{
|
||||
|
@ -4716,7 +4717,7 @@ copy_die (struct die_info *old_die)
|
|||
|
||||
/* Return sibling of die, NULL if no sibling. */
|
||||
|
||||
struct die_info *
|
||||
static struct die_info *
|
||||
sibling_die (struct die_info *die)
|
||||
{
|
||||
int nesting_level = 0;
|
||||
|
@ -5502,7 +5503,7 @@ dwarf_cfi_name (register unsigned cfi_opc)
|
|||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
static void
|
||||
dump_die (struct die_info *die)
|
||||
{
|
||||
unsigned int i;
|
||||
|
@ -5564,7 +5565,7 @@ dump_die (struct die_info *die)
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
dump_die_list (struct die_info *die)
|
||||
{
|
||||
while (die)
|
||||
|
@ -5574,7 +5575,7 @@ dump_die_list (struct die_info *die)
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
store_in_ref_table (unsigned int offset, struct die_info *die)
|
||||
{
|
||||
int h;
|
||||
|
@ -5616,7 +5617,7 @@ dwarf2_get_ref_die_offset (struct attribute *attr)
|
|||
return result;
|
||||
}
|
||||
|
||||
struct die_info *
|
||||
static struct die_info *
|
||||
follow_die_ref (unsigned int offset)
|
||||
{
|
||||
struct die_info *die;
|
||||
|
|
Loading…
Reference in a new issue