Changeset View
Changeset View
Standalone View
Standalone View
contrib/gdb/gdb/regcache.c
Show First 20 Lines • Show All 1,420 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
static void | static void | ||||
build_regcache (void) | build_regcache (void) | ||||
{ | { | ||||
current_regcache = regcache_xmalloc (current_gdbarch); | current_regcache = regcache_xmalloc (current_gdbarch); | ||||
current_regcache->readonly_p = 0; | current_regcache->readonly_p = 0; | ||||
deprecated_registers = deprecated_grub_regcache_for_registers (current_regcache); | deprecated_registers = deprecated_grub_regcache_for_registers (current_regcache); | ||||
deprecated_register_valid = current_regcache->register_valid_p; | deprecated_register_valid = (signed char *)current_regcache->register_valid_p; | ||||
} | } | ||||
static void | static void | ||||
dump_endian_bytes (struct ui_file *file, enum bfd_endian endian, | dump_endian_bytes (struct ui_file *file, enum bfd_endian endian, | ||||
const unsigned char *buf, long len) | const unsigned char *buf, long len) | ||||
{ | { | ||||
int i; | int i; | ||||
switch (endian) | switch (endian) | ||||
▲ Show 20 Lines • Show All 305 Lines • Show Last 20 Lines |