|
GDB (API)
|
#include "defs.h"#include "inferior.h"#include "target.h"#include "gdbarch.h"#include "gdbcmd.h"#include "regcache.h"#include "reggroups.h"#include "gdb_assert.h"#include "gdb_string.h"#include "observer.h"#include "exceptions.h"#include "remote.h"#include "valprint.h"Go to the source code of this file.
Typedefs | |
| typedef void( | regcache_read_ftype )(struct regcache *regcache, int regnum, void *buf) |
| typedef void( | regcache_write_ftype )(struct regcache *regcache, int regnum, const void *buf) |
Enumerations | |
| enum | regcache_dump_what { regcache_dump_none, regcache_dump_raw, regcache_dump_cooked, regcache_dump_groups, regcache_dump_remote } |
Functions | |
| struct type * | register_type (struct gdbarch *gdbarch, int regnum) |
| int | register_size (struct gdbarch *gdbarch, int regnum) |
| struct regcache * | regcache_xmalloc (struct gdbarch *gdbarch, struct address_space *aspace) |
| void | regcache_xfree (struct regcache *regcache) |
| struct cleanup * | make_cleanup_regcache_xfree (struct regcache *regcache) |
| struct gdbarch * | get_regcache_arch (const struct regcache *regcache) |
| struct address_space * | get_regcache_aspace (const struct regcache *regcache) |
| void | regcache_save (struct regcache *dst, regcache_cooked_read_ftype *cooked_read, void *src) |
| void | regcache_cpy (struct regcache *dst, struct regcache *src) |
| void | regcache_cpy_no_passthrough (struct regcache *dst, struct regcache *src) |
| struct regcache * | regcache_dup (struct regcache *src) |
| enum register_status | regcache_register_status (const struct regcache *regcache, int regnum) |
| void | regcache_invalidate (struct regcache *regcache, int regnum) |
| struct regcache * | get_thread_arch_aspace_regcache (ptid_t ptid, struct gdbarch *gdbarch, struct address_space *aspace) |
| struct regcache * | get_thread_arch_regcache (ptid_t ptid, struct gdbarch *gdbarch) |
| struct regcache * | get_thread_regcache (ptid_t ptid) |
| struct regcache * | get_current_regcache (void) |
| void | registers_changed_ptid (ptid_t ptid) |
| void | registers_changed (void) |
| enum register_status | regcache_raw_read (struct regcache *regcache, int regnum, gdb_byte *buf) |
| enum register_status | regcache_raw_read_signed (struct regcache *regcache, int regnum, LONGEST *val) |
| enum register_status | regcache_raw_read_unsigned (struct regcache *regcache, int regnum, ULONGEST *val) |
| void | regcache_raw_write_signed (struct regcache *regcache, int regnum, LONGEST val) |
| void | regcache_raw_write_unsigned (struct regcache *regcache, int regnum, ULONGEST val) |
| enum register_status | regcache_cooked_read (struct regcache *regcache, int regnum, gdb_byte *buf) |
| struct value * | regcache_cooked_read_value (struct regcache *regcache, int regnum) |
| enum register_status | regcache_cooked_read_signed (struct regcache *regcache, int regnum, LONGEST *val) |
| enum register_status | regcache_cooked_read_unsigned (struct regcache *regcache, int regnum, ULONGEST *val) |
| void | regcache_cooked_write_signed (struct regcache *regcache, int regnum, LONGEST val) |
| void | regcache_cooked_write_unsigned (struct regcache *regcache, int regnum, ULONGEST val) |
| void | regcache_raw_write (struct regcache *regcache, int regnum, const gdb_byte *buf) |
| void | regcache_cooked_write (struct regcache *regcache, int regnum, const gdb_byte *buf) |
| enum register_status | regcache_raw_read_part (struct regcache *regcache, int regnum, int offset, int len, gdb_byte *buf) |
| void | regcache_raw_write_part (struct regcache *regcache, int regnum, int offset, int len, const gdb_byte *buf) |
| enum register_status | regcache_cooked_read_part (struct regcache *regcache, int regnum, int offset, int len, gdb_byte *buf) |
| void | regcache_cooked_write_part (struct regcache *regcache, int regnum, int offset, int len, const gdb_byte *buf) |
| void | regcache_raw_supply (struct regcache *regcache, int regnum, const void *buf) |
| void | regcache_raw_collect (const struct regcache *regcache, int regnum, void *buf) |
| CORE_ADDR | regcache_read_pc (struct regcache *regcache) |
| void | regcache_write_pc (struct regcache *regcache, CORE_ADDR pc) |
| void | _initialize_regcache (void) |
Variables | |
| struct gdbarch_data * | regcache_descr_handle |
| initialize_file_ftype | _initialize_regcache |
| typedef void( regcache_read_ftype)(struct regcache *regcache, int regnum, void *buf) |
Definition at line 896 of file regcache.c.
| typedef void( regcache_write_ftype)(struct regcache *regcache, int regnum, const void *buf) |
Definition at line 898 of file regcache.c.
| enum regcache_dump_what |
| regcache_dump_none | |
| regcache_dump_raw | |
| regcache_dump_cooked | |
| regcache_dump_groups | |
| regcache_dump_remote |
Definition at line 1094 of file regcache.c.
| void _initialize_regcache | ( | void | ) |
Definition at line 1376 of file regcache.c.
| struct regcache* get_current_regcache | ( | void | ) | [read] |
Definition at line 510 of file regcache.c.
| struct gdbarch* get_regcache_arch | ( | const struct regcache * | regcache | ) | [read] |
Definition at line 274 of file regcache.c.
| struct address_space* get_regcache_aspace | ( | const struct regcache * | regcache | ) | [read] |
Definition at line 280 of file regcache.c.
| struct regcache* get_thread_arch_aspace_regcache | ( | ptid_t | ptid, |
| struct gdbarch * | gdbarch, | ||
| struct address_space * | aspace | ||
| ) | [read] |
Definition at line 454 of file regcache.c.
| struct regcache* get_thread_arch_regcache | ( | ptid_t | ptid, |
| struct gdbarch * | gdbarch | ||
| ) | [read] |
Definition at line 477 of file regcache.c.
| struct regcache* get_thread_regcache | ( | ptid_t | ptid | ) | [read] |
Definition at line 498 of file regcache.c.
| struct cleanup* make_cleanup_regcache_xfree | ( | struct regcache * | regcache | ) | [read] |
Definition at line 266 of file regcache.c.
| enum register_status regcache_cooked_read | ( | struct regcache * | regcache, |
| int | regnum, | ||
| gdb_byte * | buf | ||
| ) |
Definition at line 699 of file regcache.c.
| enum register_status regcache_cooked_read_part | ( | struct regcache * | regcache, |
| int | regnum, | ||
| int | offset, | ||
| int | len, | ||
| gdb_byte * | buf | ||
| ) |
Definition at line 968 of file regcache.c.
| enum register_status regcache_cooked_read_signed | ( | struct regcache * | regcache, |
| int | regnum, | ||
| LONGEST * | val | ||
| ) |
Definition at line 779 of file regcache.c.
| enum register_status regcache_cooked_read_unsigned | ( | struct regcache * | regcache, |
| int | regnum, | ||
| ULONGEST * | val | ||
| ) |
Definition at line 799 of file regcache.c.
| struct value* regcache_cooked_read_value | ( | struct regcache * | regcache, |
| int | regnum | ||
| ) | [read] |
Definition at line 746 of file regcache.c.
| void regcache_cooked_write | ( | struct regcache * | regcache, |
| int | regnum, | ||
| const gdb_byte * | buf | ||
| ) |
Definition at line 881 of file regcache.c.
| void regcache_cooked_write_part | ( | struct regcache * | regcache, |
| int | regnum, | ||
| int | offset, | ||
| int | len, | ||
| const gdb_byte * | buf | ||
| ) |
Definition at line 979 of file regcache.c.
| void regcache_cooked_write_signed | ( | struct regcache * | regcache, |
| int | regnum, | ||
| LONGEST | val | ||
| ) |
Definition at line 819 of file regcache.c.
| void regcache_cooked_write_unsigned | ( | struct regcache * | regcache, |
| int | regnum, | ||
| ULONGEST | val | ||
| ) |
Definition at line 833 of file regcache.c.
| void regcache_cpy | ( | struct regcache * | dst, |
| struct regcache * | src | ||
| ) |
Definition at line 372 of file regcache.c.
| void regcache_cpy_no_passthrough | ( | struct regcache * | dst, |
| struct regcache * | src | ||
| ) |
Definition at line 388 of file regcache.c.
| struct regcache* regcache_dup | ( | struct regcache * | src | ) | [read] |
Definition at line 405 of file regcache.c.
| void regcache_invalidate | ( | struct regcache * | regcache, |
| int | regnum | ||
| ) |
Definition at line 428 of file regcache.c.
| void regcache_raw_collect | ( | const struct regcache * | regcache, |
| int | regnum, | ||
| void * | buf | ||
| ) |
Definition at line 1022 of file regcache.c.
| enum register_status regcache_raw_read | ( | struct regcache * | regcache, |
| int | regnum, | ||
| gdb_byte * | buf | ||
| ) |
Definition at line 599 of file regcache.c.
| enum register_status regcache_raw_read_part | ( | struct regcache * | regcache, |
| int | regnum, | ||
| int | offset, | ||
| int | len, | ||
| gdb_byte * | buf | ||
| ) |
Definition at line 946 of file regcache.c.
| enum register_status regcache_raw_read_signed | ( | struct regcache * | regcache, |
| int | regnum, | ||
| LONGEST * | val | ||
| ) |
Definition at line 633 of file regcache.c.
| enum register_status regcache_raw_read_unsigned | ( | struct regcache * | regcache, |
| int | regnum, | ||
| ULONGEST * | val | ||
| ) |
Definition at line 652 of file regcache.c.
| void regcache_raw_supply | ( | struct regcache * | regcache, |
| int | regnum, | ||
| const void * | buf | ||
| ) |
Definition at line 992 of file regcache.c.
| void regcache_raw_write | ( | struct regcache * | regcache, |
| int | regnum, | ||
| const gdb_byte * | buf | ||
| ) |
Definition at line 847 of file regcache.c.
| void regcache_raw_write_part | ( | struct regcache * | regcache, |
| int | regnum, | ||
| int | offset, | ||
| int | len, | ||
| const gdb_byte * | buf | ||
| ) |
Definition at line 957 of file regcache.c.
| void regcache_raw_write_signed | ( | struct regcache * | regcache, |
| int | regnum, | ||
| LONGEST | val | ||
| ) |
Definition at line 672 of file regcache.c.
| void regcache_raw_write_unsigned | ( | struct regcache * | regcache, |
| int | regnum, | ||
| ULONGEST | val | ||
| ) |
Definition at line 685 of file regcache.c.
| CORE_ADDR regcache_read_pc | ( | struct regcache * | regcache | ) |
Definition at line 1039 of file regcache.c.
| enum register_status regcache_register_status | ( | const struct regcache * | regcache, |
| int | regnum | ||
| ) |
Definition at line 415 of file regcache.c.
| void regcache_save | ( | struct regcache * | dst, |
| regcache_cooked_read_ftype * | cooked_read, | ||
| void * | src | ||
| ) |
Definition at line 294 of file regcache.c.
| void regcache_write_pc | ( | struct regcache * | regcache, |
| CORE_ADDR | pc | ||
| ) |
Definition at line 1066 of file regcache.c.
| void regcache_xfree | ( | struct regcache * | regcache | ) |
Definition at line 250 of file regcache.c.
| struct regcache* regcache_xmalloc | ( | struct gdbarch * | gdbarch, |
| struct address_space * | aspace | ||
| ) | [read] |
Definition at line 244 of file regcache.c.
| int register_size | ( | struct gdbarch * | gdbarch, |
| int | regnum | ||
| ) |
Definition at line 172 of file regcache.c.
| struct type* register_type | ( | struct gdbarch * | gdbarch, |
| int | regnum | ||
| ) | [read] |
Definition at line 160 of file regcache.c.
| void registers_changed | ( | void | ) |
Definition at line 586 of file regcache.c.
| void registers_changed_ptid | ( | ptid_t | ptid | ) |
Definition at line 548 of file regcache.c.
| struct gdbarch_data* regcache_descr_handle |
Definition at line 44 of file regcache.c.
1.7.6.1