(*val) = extract_unsigned_integer (buf, DEPRECATED_REGISTER_VIRTUAL_SIZE (regnum));
(*val) = extract_unsigned_integer (buf, register_size (get_frame_arch (frame), regnum));
frame_unwind_unsigned_register (struct frame_info *frame, int regnum,				ULONGEST *val){  char buf[MAX_REGISTER_SIZE];  frame_unwind_register (frame, regnum, buf);  (*val) = extract_unsigned_integer (buf, DEPRECATED_REGISTER_VIRTUAL_SIZE (regnum));}