GDB (API)
Defines | Functions
/home/stan/gdb/src/gdb/coff-pe-read.c File Reference
#include "defs.h"
#include "coff-pe-read.h"
#include "bfd.h"
#include "gdbtypes.h"
#include "command.h"
#include "gdbcmd.h"
#include "symtab.h"
#include "symfile.h"
#include "objfiles.h"
#include "common/common-utils.h"
#include "coff/internal.h"
#include <ctype.h>

Go to the source code of this file.

Defines

#define IMAGE_SCN_CNT_CODE   0x20
#define IMAGE_SCN_CNT_INITIALIZED_DATA   0x40
#define IMAGE_SCN_CNT_UNINITIALIZED_DATA   0x80
#define PE_SECTION_INDEX_TEXT   0
#define PE_SECTION_INDEX_DATA   1
#define PE_SECTION_INDEX_BSS   2
#define PE_SECTION_TABLE_SIZE   3
#define PE_SECTION_INDEX_INVALID   -1
#define DEFAULT_COFF_PE_TEXT_SECTION_OFFSET   0x1000

Functions

void read_pe_exported_syms (struct objfile *objfile)
CORE_ADDR pe_text_section_offset (struct bfd *abfd)
void _initialize_coff_pe_read (void)

Define Documentation

Definition at line 624 of file coff-pe-read.c.

#define IMAGE_SCN_CNT_CODE   0x20

Definition at line 59 of file coff-pe-read.c.

#define IMAGE_SCN_CNT_INITIALIZED_DATA   0x40

Definition at line 60 of file coff-pe-read.c.

Definition at line 61 of file coff-pe-read.c.

#define PE_SECTION_INDEX_BSS   2

Definition at line 64 of file coff-pe-read.c.

#define PE_SECTION_INDEX_DATA   1

Definition at line 63 of file coff-pe-read.c.

#define PE_SECTION_INDEX_INVALID   -1

Definition at line 66 of file coff-pe-read.c.

#define PE_SECTION_INDEX_TEXT   0

Definition at line 62 of file coff-pe-read.c.

#define PE_SECTION_TABLE_SIZE   3

Definition at line 65 of file coff-pe-read.c.


Function Documentation

void _initialize_coff_pe_read ( void  )
CORE_ADDR pe_text_section_offset ( struct bfd *  abfd)

Definition at line 627 of file coff-pe-read.c.

void read_pe_exported_syms ( struct objfile objfile)

Definition at line 320 of file coff-pe-read.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines