GDB (xrefs)
Loading...
Searching...
No Matches
Enumerations | Functions | Variables
/tmp/gdb-13.1/gdb/auxv.h File Reference
#include "target.h"

Go to the source code of this file.

Enumerations

enum  auxv_format { AUXV_FORMAT_DEC , AUXV_FORMAT_HEX , AUXV_FORMAT_STR }
 

Functions

int default_auxv_parse (struct target_ops *ops, const gdb_byte **readptr, const gdb_byte *endptr, CORE_ADDR *typep, CORE_ADDR *valp)
 
int svr4_auxv_parse (struct gdbarch *gdbarch, const gdb_byte **readptr, const gdb_byte *endptr, CORE_ADDR *typep, CORE_ADDR *valp)
 
gdb::optional< gdb::byte_vector > target_read_auxv ()
 
gdb::optional< gdb::byte_vector > target_read_auxv_raw (target_ops *ops)
 
int target_auxv_search (const gdb::byte_vector &auxv, target_ops *ops, gdbarch *gdbarch, CORE_ADDR match, CORE_ADDR *valp)
 
int target_auxv_search (CORE_ADDR match, CORE_ADDR *valp)
 
void fprint_auxv_entry (struct ui_file *file, const char *name, const char *description, enum auxv_format format, CORE_ADDR type, CORE_ADDR val)
 
void default_print_auxv_entry (struct gdbarch *gdbarch, struct ui_file *file, CORE_ADDR type, CORE_ADDR val)
 

Variables

target_xfer_partial_ftype memory_xfer_auxv
 

Enumeration Type Documentation

◆ auxv_format

Enumerator
AUXV_FORMAT_DEC 
AUXV_FORMAT_HEX 
AUXV_FORMAT_STR 

Definition at line 75 of file auxv.h.

Function Documentation

◆ default_auxv_parse()

int default_auxv_parse ( struct target_ops ops,
const gdb_byte **  readptr,
const gdb_byte *  endptr,
CORE_ADDR *  typep,
CORE_ADDR *  valp 
)

◆ default_print_auxv_entry()

void default_print_auxv_entry ( struct gdbarch gdbarch,
struct ui_file file,
CORE_ADDR  type,
CORE_ADDR  val 
)

◆ fprint_auxv_entry()

void fprint_auxv_entry ( struct ui_file file,
const char *  name,
const char *  description,
enum auxv_format  format,
CORE_ADDR  type,
CORE_ADDR  val 
)

◆ svr4_auxv_parse()

int svr4_auxv_parse ( struct gdbarch gdbarch,
const gdb_byte **  readptr,
const gdb_byte *  endptr,
CORE_ADDR *  typep,
CORE_ADDR *  valp 
)

Definition at line 298 of file auxv.c.

References builtin_type::builtin_int, generic_auxv_parse(), and type::length().

Referenced by nbsd_init_abi(), and obsd_init_abi().

◆ target_auxv_search() [1/2]

int target_auxv_search ( const gdb::byte_vector &  auxv,
target_ops ops,
gdbarch gdbarch,
CORE_ADDR  match,
CORE_ADDR *  valp 
)

◆ target_auxv_search() [2/2]

int target_auxv_search ( CORE_ADDR  match,
CORE_ADDR *  valp 
)

Definition at line 411 of file auxv.c.

References current_inferior(), target_auxv_search(), and target_read_auxv().

◆ target_read_auxv()

gdb::optional< gdb::byte_vector > target_read_auxv ( )

◆ target_read_auxv_raw()

gdb::optional< gdb::byte_vector > target_read_auxv_raw ( target_ops ops)

Variable Documentation

◆ memory_xfer_auxv

target_xfer_partial_ftype memory_xfer_auxv
extern