Changeset View
Changeset View
Standalone View
Standalone View
head/devel/gdb/files/kgdb/arm-fbsd-kern.c
Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
static struct trad_frame_cache * | static struct trad_frame_cache * | ||||
arm_fbsd_trapframe_cache (struct frame_info *this_frame, void **this_cache) | arm_fbsd_trapframe_cache (struct frame_info *this_frame, void **this_cache) | ||||
{ | { | ||||
struct gdbarch *gdbarch = get_frame_arch (this_frame); | struct gdbarch *gdbarch = get_frame_arch (this_frame); | ||||
enum bfd_endian byte_order = gdbarch_byte_order (gdbarch); | enum bfd_endian byte_order = gdbarch_byte_order (gdbarch); | ||||
struct trad_frame_cache *cache; | struct trad_frame_cache *cache; | ||||
CORE_ADDR addr, func, pc, sp; | CORE_ADDR func, pc, sp; | ||||
const char *name; | const char *name; | ||||
int i; | int i; | ||||
if (*this_cache != NULL) | if (*this_cache != NULL) | ||||
return ((struct trad_frame_cache *)*this_cache); | return ((struct trad_frame_cache *)*this_cache); | ||||
cache = trad_frame_cache_zalloc (this_frame); | cache = trad_frame_cache_zalloc (this_frame); | ||||
*this_cache = cache; | *this_cache = cache; | ||||
▲ Show 20 Lines • Show All 109 Lines • Show Last 20 Lines |