32 struct value *
function,
48 struct value *arg = 0;
90 for (argno = 0, argbytes = 0; argno < nargs && ii < 8; ++ii)
123 while (argbytes < len)
126 memset (word, 0, reg_size);
129 (len - argbytes) > reg_size
130 ? reg_size : len - argbytes);
134 ++ii, argbytes += reg_size;
137 goto ran_out_of_registers_for_arguments;
146 == BFD_ENDIAN_BIG ? reg_size - len : 0;
149 memset (word, 0, reg_size);
156 ran_out_of_registers_for_arguments:
174 if ((argno < nargs) || argbytes)
180 space +=
align_up (len - argbytes, 4);
186 for (; jj < nargs; ++jj)
188 struct value *val = args[jj];
215 ii +=
align_up (len - argbytes, 4) / 4;
219 for (; argno < nargs; ++argno)
373 memcpy (readbuf, regval, 8);
393 if (bfd_get_flavour (abfd) != bfd_target_xcoff_flavour)
423 bfd_target_xcoff_flavour,
ULONGEST align_down(ULONGEST v, int n)
void convert_typed_floating(const void *from, const struct type *from_type, void *to, const struct type *to_type)
void gdbarch_register_osabi_sniffer(enum bfd_architecture arch, enum bfd_flavour flavour, enum gdb_osabi(*sniffer_fn)(bfd *))
struct gdbarch_tdep * gdbarch_tdep(struct gdbarch *gdbarch)
static enum gdb_osabi rs6000_lynx178_osabi_sniffer(bfd *abfd)
void store_unsigned_integer(gdb_byte *, int, enum bfd_endian, ULONGEST)
void regcache_raw_write_signed(struct regcache *regcache, int regnum, LONGEST val)
struct type * check_typedef(struct type *type)
const gdb_byte * value_contents(struct value *value)
void initialize_file_ftype(void)
int gdbarch_sp_regnum(struct gdbarch *gdbarch)
enum register_status regcache_cooked_read_unsigned(struct regcache *regcache, int regnum, ULONGEST *val)
struct type * register_type(struct gdbarch *gdbarch, int regnum)
enum bfd_endian gdbarch_byte_order(struct gdbarch *gdbarch)
initialize_file_ftype _initialize_rs6000_lynx178_tdep
static enum return_value_convention rs6000_lynx178_return_value(struct gdbarch *gdbarch, struct value *function, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf)
LONGEST unpack_long(struct type *type, const gdb_byte *valaddr)
ULONGEST align_up(ULONGEST v, int n)
#define TYPE_CODE(thistype)
void regcache_cooked_write_unsigned(struct regcache *regcache, int regnum, ULONGEST val)
int xcoff_get_n_import_files(bfd *abfd)
CORE_ADDR find_function_addr(struct value *function, struct type **retval_type)
static void rs6000_lynx178_init_osabi(struct gdbarch_info info, struct gdbarch *gdbarch)
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)
unsigned long long ULONGEST
void target_store_registers(struct regcache *regcache, int regno)
int register_size(struct gdbarch *gdbarch, int regnum)
static CORE_ADDR rs6000_lynx178_push_dummy_call(struct gdbarch *gdbarch, struct value *function, struct regcache *regcache, CORE_ADDR bp_addr, int nargs, struct value **args, CORE_ADDR sp, int struct_return, CORE_ADDR struct_addr)
void set_gdbarch_long_double_bit(struct gdbarch *gdbarch, int long_double_bit)
struct type * value_type(const struct value *value)
void set_gdbarch_return_value(struct gdbarch *gdbarch, gdbarch_return_value_ftype return_value)
#define TYPE_LENGTH(thistype)
void set_gdbarch_push_dummy_call(struct gdbarch *gdbarch, gdbarch_push_dummy_call_ftype push_dummy_call)
void write_memory(CORE_ADDR memaddr, const bfd_byte *myaddr, ssize_t len)
int ppc_floating_point_unit_p(struct gdbarch *gdbarch)
void gdbarch_register_osabi(enum bfd_architecture arch, unsigned long machine, enum gdb_osabi osabi, void(*init_osabi)(struct gdbarch_info, struct gdbarch *))
void regcache_cooked_write(struct regcache *regcache, int regnum, const gdb_byte *buf)
const ULONGEST const LONGEST len