GDB (xrefs)

Functions
/tmp/gdb-8.1/gdb/rs6000-lynx178-tdep.c File Reference
`#include "defs.h"`
`#include "osabi.h"`
`#include "regcache.h"`
`#include "gdbcore.h"`
`#include "gdbtypes.h"`
`#include "infcall.h"`
`#include "ppc-tdep.h"`
`#include "target-float.h"`
`#include "value.h"`
`#include "xcoffread.h"`

Go to the source code of this file.

## Functions
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)
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)
static enum gdb_osabi | rs6000_lynx178_osabi_sniffer (bfd *abfd)
static void | rs6000_lynx178_init_osabi (struct gdbarch_info info, struct gdbarch *gdbarch)
void | _initialize_rs6000_lynx178_tdep (void)

## Function Documentation

## ◆ _initialize_rs6000_lynx178_tdep()

void _initialize_rs6000_lynx178_tdep | ( | void |  | ) |

Definition at line 415 of file rs6000-lynx178-tdep.c.

References GDB_OSABI_LYNXOS178, gdbarch_register_osabi(), gdbarch_register_osabi_sniffer(), rs6000_lynx178_init_osabi(), and rs6000_lynx178_osabi_sniffer().

## ◆ rs6000_lynx178_init_osabi()

static void rs6000_lynx178_init_osabi | ( | struct gdbarch_info | info,
|  | struct gdbarch * | gdbarch
| ) |  |
| static

Definition at line 407 of file rs6000-lynx178-tdep.c.

References rs6000_lynx178_push_dummy_call(), rs6000_lynx178_return_value(), set_gdbarch_long_double_bit(), set_gdbarch_push_dummy_call(), set_gdbarch_return_value(), and TARGET_CHAR_BIT.

Referenced by _initialize_rs6000_lynx178_tdep().

## ◆ rs6000_lynx178_osabi_sniffer()

static enum gdb_osabi rs6000_lynx178_osabi_sniffer | ( | bfd * | abfd | ) |
| static

Definition at line 389 of file rs6000-lynx178-tdep.c.

References GDB_OSABI_LYNXOS178, GDB_OSABI_UNKNOWN, and xcoff_get_n_import_files().

Referenced by _initialize_rs6000_lynx178_tdep().

## ◆ rs6000_lynx178_push_dummy_call()

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
| ) |  |
| static

Definition at line 32 of file rs6000-lynx178-tdep.c.

References align_down(), align_up(), check_typedef(), find_function_addr(), fp_regnum, gdb_assert, gdbarch_byte_order(), gdbarch_sp_regnum(), gdbarch_tdep(), memset(), ppc_floating_point_unit_p(), gdbarch_tdep::ppc_fp0_regnum, gdbarch_tdep::ppc_gp0_regnum, gdbarch_tdep::ppc_lr_regnum, PPC_MAX_REGISTER_SIZE, regcache_cooked_read_unsigned(), regcache_cooked_write(), regcache_raw_write_signed(), regcache_raw_write_unsigned(), register_size(), register_type(), store_unsigned_integer(), target_float_convert(), target_store_registers(), type, TYPE_CODE, TYPE_CODE_FLT, TYPE_LENGTH, value_contents(), value_type(), gdbarch_tdep::wordsize, wordsize, and write_memory().

Referenced by rs6000_lynx178_init_osabi().

## ◆ rs6000_lynx178_return_value()

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
| ) |  |
| static

Definition at line 266 of file rs6000-lynx178-tdep.c.

References gdb_assert, gdbarch_byte_order(), gdbarch_tdep(), ppc_floating_point_unit_p(), gdbarch_tdep::ppc_fp0_regnum, gdbarch_tdep::ppc_gp0_regnum, gdbarch_tdep::ppc_vr0_regnum, regcache_cooked_read(), regcache_cooked_read_unsigned(), regcache_cooked_write(), regcache_cooked_write_unsigned(), register_type(), RETURN_VALUE_REGISTER_CONVENTION, RETURN_VALUE_STRUCT_CONVENTION, store_unsigned_integer(), target_float_convert(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_FLT, TYPE_CODE_STRUCT, TYPE_CODE_UNION, TYPE_LENGTH, TYPE_VECTOR, unpack_long(), and gdbarch_tdep::wordsize.

Referenced by rs6000_lynx178_init_osabi().