GDB (API)
Defines | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/osabi.c File Reference
#include "defs.h"
#include "gdb_assert.h"
#include "gdb_string.h"
#include "osabi.h"
#include "arch-utils.h"
#include "gdbcmd.h"
#include "command.h"
#include "elf-bfd.h"

Go to the source code of this file.

Defines

#define GDB_OSABI_DEFAULT   GDB_OSABI_UNKNOWN
#define MAX_NOTESZ   128

Enumerations

enum  { osabi_auto, osabi_default, osabi_user }

Functions

const char * gdbarch_osabi_name (enum gdb_osabi osabi)
enum gdb_osabi osabi_from_tdesc_string (const char *name)
void gdbarch_register_osabi (enum bfd_architecture arch, unsigned long machine, enum gdb_osabi osabi, void(*init_osabi)(struct gdbarch_info, struct gdbarch *))
void gdbarch_register_osabi_sniffer (enum bfd_architecture arch, enum bfd_flavour flavour, enum gdb_osabi(*sniffer_fn)(bfd *))
enum gdb_osabi gdbarch_lookup_osabi (bfd *abfd)
void gdbarch_init_osabi (struct gdbarch_info info, struct gdbarch *gdbarch)
void generic_elf_osabi_sniff_abi_tag_sections (bfd *abfd, asection *sect, void *obj)
void _initialize_gdb_osabi (void)

Variables

initialize_file_ftype _initialize_gdb_osabi

Define Documentation

Definition at line 33 of file osabi.c.

#define MAX_NOTESZ   128

Definition at line 372 of file osabi.c.


Enumeration Type Documentation

anonymous enum
Enumerator:
osabi_auto 
osabi_default 
osabi_user 

Definition at line 37 of file osabi.c.


Function Documentation

void _initialize_gdb_osabi ( void  )

Definition at line 650 of file osabi.c.

void gdbarch_init_osabi ( struct gdbarch_info  info,
struct gdbarch *  gdbarch 
)

Definition at line 320 of file osabi.c.

enum gdb_osabi gdbarch_lookup_osabi ( bfd *  abfd)

Definition at line 222 of file osabi.c.

const char* gdbarch_osabi_name ( enum gdb_osabi  osabi)

Definition at line 82 of file osabi.c.

void gdbarch_register_osabi ( enum bfd_architecture  arch,
unsigned long  machine,
enum gdb_osabi  osabi,
void(*)(struct gdbarch_info, struct gdbarch *)  init_osabi 
)

Definition at line 127 of file osabi.c.

void gdbarch_register_osabi_sniffer ( enum bfd_architecture  arch,
enum bfd_flavour  flavour,
enum gdb_osabi(*)(bfd *)  sniffer_fn 
)

Definition at line 204 of file osabi.c.

void generic_elf_osabi_sniff_abi_tag_sections ( bfd *  abfd,
asection *  sect,
void *  obj 
)

Definition at line 423 of file osabi.c.

enum gdb_osabi osabi_from_tdesc_string ( const char *  name)

Definition at line 94 of file osabi.c.


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines