/* Simplified internal version of coff symbol table information. */
-struct coff_symbol
+struct xcoff_symbol
{
char *c_name;
int c_symnum; /* Symbol number of this entry. */
/* Last function's saved coff symbol `cs'. */
-static struct coff_symbol fcn_cs_saved;
+static struct xcoff_symbol fcn_cs_saved;
static bfd *symfile_bfd;
static const char *xcoff_next_symbol_text (struct objfile *);
-static void record_include_begin (struct coff_symbol *);
+static void record_include_begin (struct xcoff_symbol *);
static void
enter_line_range (struct subfile *, unsigned, unsigned,
static CORE_ADDR read_symbol_nvalue (int);
-static struct symbol *process_xcoff_symbol (struct coff_symbol *,
+static struct symbol *process_xcoff_symbol (struct xcoff_symbol *,
struct objfile *);
static void read_xcoff_symtab (struct objfile *, legacy_psymtab *);
static void add_stab_to_list (char *, struct pending_stabs **);
#endif
-static void record_include_end (struct coff_symbol *);
+static void record_include_end (struct xcoff_symbol *);
static void process_linenos (CORE_ADDR, CORE_ADDR);
\f
static void allocate_include_entry (void);
static void
-record_include_begin (struct coff_symbol *cs)
+record_include_begin (struct xcoff_symbol *cs)
{
if (inclDepth)
{
}
static void
-record_include_end (struct coff_symbol *cs)
+record_include_end (struct xcoff_symbol *cs)
{
InclTable *pTbl;
struct internal_syment symbol[1];
union internal_auxent main_aux;
- struct coff_symbol cs[1];
+ struct xcoff_symbol cs[1];
CORE_ADDR file_start_addr = 0;
CORE_ADDR file_end_addr = 0;
CORE_ADDR fcn_start_addr = 0;
enum language pst_symtab_language;
- struct coff_symbol fcn_stab_saved = { 0 };
+ struct xcoff_symbol fcn_stab_saved = { 0 };
/* fcn_cs_saved is global because process_xcoff_symbol needs it. */
union internal_auxent fcn_aux_saved = main_aux;
/* process one xcoff symbol. */
static struct symbol *
-process_xcoff_symbol (struct coff_symbol *cs, struct objfile *objfile)
+process_xcoff_symbol (struct xcoff_symbol *cs, struct objfile *objfile)
{
struct symbol onesymbol;
struct symbol *sym = &onesymbol;