GDB (API)
Defines | Typedefs | Functions | Variables
/home/stan/gdb/src/gdb/xcoffread.c File Reference
#include "defs.h"
#include "bfd.h"
#include <sys/types.h>
#include <fcntl.h>
#include <ctype.h>
#include "gdb_string.h"
#include "gdb_stat.h"
#include "coff/internal.h"
#include "libcoff.h"
#include "coff/xcoff.h"
#include "libxcoff.h"
#include "coff/rs6000.h"
#include "xcoffread.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "symfile.h"
#include "objfiles.h"
#include "buildsym.h"
#include "stabsread.h"
#include "expression.h"
#include "complaints.h"
#include "psympriv.h"
#include "gdb-stabs.h"
#include "aout/stab_gnu.h"

Go to the source code of this file.

Defines

#define INITIAL_STABVECTOR_LENGTH   40
#define XCOFF_DATA(objfile)
#define NUM_OF_FUNCTIONS   20
#define INITIAL_INCLUDE_TABLE_LENGTH   20
#define complete_symtab(name, start_addr)
#define CSECT(PP)   ((PP)->x_csect)
#define CSECT_LEN(PP)   (CSECT(PP).x_scnlen.l)
#define CSECT_ALIGN(PP)   (SMTYP_ALIGN(CSECT(PP).x_smtyp))
#define CSECT_SMTYP(PP)   (SMTYP_SMTYP(CSECT(PP).x_smtyp))
#define CSECT_SCLAS(PP)   (CSECT(PP).x_smclas)
#define SYMBOL_DUP(SYMBOL1, SYMBOL2)
#define SYMNAME_ALLOC(NAME, ALLOCED)

Typedefs

typedef struct _inclTable InclTable

Functions

CORE_ADDR xcoff_get_toc_offset (struct objfile *objfile)
int xcoff_get_n_import_files (bfd *abfd)
void _initialize_xcoffread (void)

Variables

int within_function
initialize_file_ftype _initialize_xcoffread

Define Documentation

#define complete_symtab (   name,
  start_addr 
)
Value:
{       \
  set_last_source_file (name);                  \
  last_source_start_addr = start_addr;          \
}

Definition at line 912 of file xcoffread.c.

#define CSECT (   PP)    ((PP)->x_csect)
#define CSECT_ALIGN (   PP)    (SMTYP_ALIGN(CSECT(PP).x_smtyp))
#define CSECT_LEN (   PP)    (CSECT(PP).x_scnlen.l)
#define CSECT_SCLAS (   PP)    (CSECT(PP).x_smclas)
#define CSECT_SMTYP (   PP)    (SMTYP_SMTYP(CSECT(PP).x_smtyp))

Definition at line 541 of file xcoffread.c.

#define INITIAL_STABVECTOR_LENGTH   40

Definition at line 122 of file xcoffread.c.

#define NUM_OF_FUNCTIONS   20
#define SYMBOL_DUP (   SYMBOL1,
  SYMBOL2 
)
Value:
(SYMBOL2) = (struct symbol *)           \
        obstack_alloc (&objfile->objfile_obstack, sizeof (struct symbol)); \
  *(SYMBOL2) = *(SYMBOL1);

Definition at line 1529 of file xcoffread.c.

#define SYMNAME_ALLOC (   NAME,
  ALLOCED 
)
Value:
((ALLOCED) ? (NAME) : obstack_copy0 (&objfile->objfile_obstack, \
                                       (NAME), strlen (NAME)))

Definition at line 1535 of file xcoffread.c.

#define XCOFF_DATA (   objfile)
Value:
((struct coff_symfile_info *) objfile_data ((objfile),          \
                                              xcoff_objfile_data_key))

Definition at line 158 of file xcoffread.c.


Typedef Documentation

typedef struct _inclTable InclTable

Function Documentation

void _initialize_xcoffread ( void  )

Definition at line 3193 of file xcoffread.c.

int xcoff_get_n_import_files ( bfd *  abfd)

Definition at line 3156 of file xcoffread.c.

CORE_ADDR xcoff_get_toc_offset ( struct objfile objfile)

Definition at line 2935 of file xcoffread.c.


Variable Documentation

Definition at line 127 of file xcoffread.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines