GDB (API)
Defines | Enumerations | Functions
/home/stan/gdb/src/gdb/mdebugread.c File Reference
#include "defs.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "gdbcore.h"
#include "filenames.h"
#include "objfiles.h"
#include "gdb_obstack.h"
#include "buildsym.h"
#include "stabsread.h"
#include "complaints.h"
#include "demangle.h"
#include "gdb-demangle.h"
#include "gdb_assert.h"
#include "block.h"
#include "dictionary.h"
#include "mdebugread.h"
#include "gdb_stat.h"
#include "gdb_string.h"
#include "psympriv.h"
#include "source.h"
#include "bfd.h"
#include "coff/ecoff.h"
#include "libaout.h"
#include "aout/aout64.h"
#include "aout/stab_gnu.h"
#include "expression.h"

Go to the source code of this file.

Defines

#define ECOFF_IN_ELF(bfd)
#define PST_PRIVATE(p)   ((struct symloc *)(p)->read_symtab_private)
#define FDR_IDX(p)   (PST_PRIVATE(p)->fdr_idx)
#define CUR_BFD(p)   (PST_PRIVATE(p)->cur_bfd)
#define DEBUG_SWAP(p)   (PST_PRIVATE(p)->debug_swap)
#define DEBUG_INFO(p)   (PST_PRIVATE(p)->debug_info)
#define PENDING_LIST(p)   (PST_PRIVATE(p)->pending_list)
#define SC_IS_TEXT(sc)
#define SC_IS_DATA(sc)
#define SC_IS_COMMON(sc)   ((sc) == scCommon || (sc) == scSCommon)
#define SC_IS_BSS(sc)   ((sc) == scBss)
#define SC_IS_SBSS(sc)   ((sc) == scSBss)
#define SC_IS_UNDEF(sc)   ((sc) == scUndefined || (sc) == scSUndefined)
#define MIN_GLEVEL   GLEVEL_0
#define compare_glevel(a, b)
#define PARSE_TQ(tq)

Enumerations

enum  block_type { FUNCTION_BLOCK, NON_FUNCTION_BLOCK }

Functions

void _initialize_mdebugread (void)
void mdebug_build_psymtabs (struct objfile *objfile, const struct ecoff_debug_swap *swap, struct ecoff_debug_info *info)
void elfmdebug_build_psymtabs (struct objfile *objfile, const struct ecoff_debug_swap *swap, asection *sec)

Define Documentation

#define compare_glevel (   a,
 
)
Value:
(((a) == GLEVEL_3) ? ((b) < GLEVEL_3) :                 \
         ((b) == GLEVEL_3) ? -1 : (int)((b) - (a)))

Definition at line 173 of file mdebugread.c.

#define CUR_BFD (   p)    (PST_PRIVATE(p)->cur_bfd)

Definition at line 109 of file mdebugread.c.

#define DEBUG_INFO (   p)    (PST_PRIVATE(p)->debug_info)

Definition at line 111 of file mdebugread.c.

#define DEBUG_SWAP (   p)    (PST_PRIVATE(p)->debug_swap)

Definition at line 110 of file mdebugread.c.

#define ECOFF_IN_ELF (   bfd)
Value:
(bfd_get_flavour (bfd) == bfd_target_elf_flavour \
                           && bfd_get_section_by_name (bfd, ".mdebug") != NULL)

Definition at line 79 of file mdebugread.c.

#define FDR_IDX (   p)    (PST_PRIVATE(p)->fdr_idx)

Definition at line 108 of file mdebugread.c.

#define MIN_GLEVEL   GLEVEL_0

Definition at line 172 of file mdebugread.c.

#define PARSE_TQ (   tq)
Value:
if (t->tq != tqNil) \
        ax += upgrade_type(fd, &tp, t->tq, ax, bigend, sym_name); \
      else \
        break;
#define PENDING_LIST (   p)    (PST_PRIVATE(p)->pending_list)

Definition at line 112 of file mdebugread.c.

#define PST_PRIVATE (   p)    ((struct symloc *)(p)->read_symtab_private)

Definition at line 107 of file mdebugread.c.

#define SC_IS_BSS (   sc)    ((sc) == scBss)

Definition at line 124 of file mdebugread.c.

#define SC_IS_COMMON (   sc)    ((sc) == scCommon || (sc) == scSCommon)

Definition at line 123 of file mdebugread.c.

#define SC_IS_DATA (   sc)
Value:
((sc) == scData \
                   || (sc) == scSData \
                   || (sc) == scRData \
                   || (sc) == scPData \
                   || (sc) == scXData)

Definition at line 118 of file mdebugread.c.

#define SC_IS_SBSS (   sc)    ((sc) == scSBss)

Definition at line 125 of file mdebugread.c.

#define SC_IS_TEXT (   sc)
Value:
((sc) == scText \
                   || (sc) == scRConst \
                   || (sc) == scInit \
                   || (sc) == scFini)

Definition at line 114 of file mdebugread.c.

#define SC_IS_UNDEF (   sc)    ((sc) == scUndefined || (sc) == scSUndefined)

Definition at line 126 of file mdebugread.c.


Enumeration Type Documentation

enum block_type
Enumerator:
FUNCTION_BLOCK 
NON_FUNCTION_BLOCK 

Definition at line 238 of file mdebugread.c.


Function Documentation

void _initialize_mdebugread ( void  )
void elfmdebug_build_psymtabs ( struct objfile objfile,
const struct ecoff_debug_swap *  swap,
asection *  sec 
)

Definition at line 4889 of file mdebugread.c.

void mdebug_build_psymtabs ( struct objfile objfile,
const struct ecoff_debug_swap *  swap,
struct ecoff_debug_info *  info 
)

Definition at line 341 of file mdebugread.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines