304 static const char *v850_reg_names[] =
305 {
"r0",
"r1",
"r2",
"r3",
"r4",
"r5",
"r6",
"r7",
306 "r8",
"r9",
"r10",
"r11",
"r12",
"r13",
"r14",
"r15",
307 "r16",
"r17",
"r18",
"r19",
"r20",
"r21",
"r22",
"r23",
308 "r24",
"r25",
"r26",
"r27",
"r28",
"r29",
"r30",
"r31",
309 "eipc",
"eipsw",
"fepc",
"fepsw",
"ecr",
"psw",
"sr6",
"sr7",
310 "sr8",
"sr9",
"sr10",
"sr11",
"sr12",
"sr13",
"sr14",
"sr15",
311 "sr16",
"sr17",
"sr18",
"sr19",
"sr20",
"sr21",
"sr22",
"sr23",
312 "sr24",
"sr25",
"sr26",
"sr27",
"sr28",
"sr29",
"sr30",
"sr31",
316 return v850_reg_names[
regnum];
322 static const char *v850e_reg_names[] =
324 "r0",
"r1",
"r2",
"r3",
"r4",
"r5",
"r6",
"r7",
325 "r8",
"r9",
"r10",
"r11",
"r12",
"r13",
"r14",
"r15",
326 "r16",
"r17",
"r18",
"r19",
"r20",
"r21",
"r22",
"r23",
327 "r24",
"r25",
"r26",
"r27",
"r28",
"r29",
"r30",
"r31",
328 "eipc",
"eipsw",
"fepc",
"fepsw",
"ecr",
"psw",
"sr6",
"sr7",
329 "sr8",
"sr9",
"sr10",
"sr11",
"sr12",
"sr13",
"sr14",
"sr15",
330 "ctpc",
"ctpsw",
"dbpc",
"dbpsw",
"ctbp",
"sr21",
"sr22",
"sr23",
331 "sr24",
"sr25",
"sr26",
"sr27",
"sr28",
"sr29",
"sr30",
"sr31",
335 return v850e_reg_names[
regnum];
341 static const char *v850e2_reg_names[] =
344 "r0",
"r1",
"r2",
"r3",
"r4",
"r5",
"r6",
"r7",
345 "r8",
"r9",
"r10",
"r11",
"r12",
"r13",
"r14",
"r15",
346 "r16",
"r17",
"r18",
"r19",
"r20",
"r21",
"r22",
"r23",
347 "r24",
"r25",
"r26",
"r27",
"r28",
"r29",
"r30",
"r31",
350 "eipc",
"eipsw",
"fepc",
"fepsw",
"ecr",
"psw",
"pid",
"cfg",
351 "",
"",
"",
"sccfg",
"scbp",
"eiic",
"feic",
"dbic",
352 "ctpc",
"ctpsw",
"dbpc",
"dbpsw",
"ctbp",
"dir",
"",
"",
353 "",
"",
"",
"",
"eiwr",
"fewr",
"dbwr",
"bsel",
360 "vsecr",
"vstid",
"vsadr",
"",
"vmecr",
"vmtid",
"vmadr",
"",
361 "vpecr",
"vptid",
"vpadr",
"",
"",
"",
"",
"",
362 "",
"",
"",
"",
"",
"",
"",
"",
363 "mca",
"mcs",
"mcc",
"mcr",
366 "mpm",
"mpc",
"tid",
"",
"",
"",
"ipa0l",
"ipa0u",
367 "ipa1l",
"ipa1u",
"ipa2l",
"ipa2u",
"ipa3l",
"ipa3u",
"ipa4l",
"ipa4u",
368 "dpa0l",
"dpa0u",
"dpa1l",
"dpa1u",
"dpa2l",
"dpa2u",
"dpa3l",
"dpa3u",
369 "dpa4l",
"dpa4u",
"dpa5l",
"dpa5u",
372 "",
"",
"",
"",
"",
"",
"fpsr",
"fpepc",
373 "fpst",
"fpcc",
"fpcfg",
"fpec",
"",
"",
"",
"",
374 "",
"",
"",
"",
"",
"",
"",
"",
379 return v850e2_reg_names[
regnum];
387 static const char *v850e3v5_reg_names[] =
390 "r0",
"r1",
"r2",
"r3",
"r4",
"r5",
"r6",
"r7",
391 "r8",
"r9",
"r10",
"r11",
"r12",
"r13",
"r14",
"r15",
392 "r16",
"r17",
"r18",
"r19",
"r20",
"r21",
"r22",
"r23",
393 "r24",
"r25",
"r26",
"r27",
"r28",
"r29",
"r30",
"r31",
397 "eipc",
"eipsw",
"fepc",
"fepsw",
400 "sesr",
"eiic",
"feic",
"",
401 "ctpc",
"ctpsw",
"",
"",
"ctbp",
"",
"",
"",
402 "",
"",
"",
"",
"eiwr",
"fewr",
"",
"bsel",
409 "",
"",
"",
"",
"",
"",
"",
"",
410 "",
"",
"",
"",
"",
"",
"",
"",
411 "",
"",
"",
"",
"",
"",
"",
"",
416 "",
"",
"",
"",
"",
"",
"",
"",
417 "",
"",
"",
"",
"",
"",
"",
"",
418 "",
"",
"",
"",
"",
"",
"",
"",
424 "",
"",
"",
"",
"",
"",
"fpsr",
"fpepc",
425 "fpst",
"fpcc",
"fpcfg",
"fpec",
"",
"",
"",
"",
426 "",
"",
"",
"",
"",
"",
"",
"",
430 "mcfg0",
"mcfg1",
"rbase",
"ebase",
"intbp",
"mctl",
"pid",
"fpipr",
431 "",
"",
"tcsel",
"sccfg",
"scbp",
"hvccfg",
"hvcbp",
"vsel",
432 "vmprt0",
"vmprt1",
"vmprt2",
"",
"",
"",
"",
"vmscctl",
433 "vmsctbl0",
"vmsctbl1",
"vmsctbl2",
"vmsctbl3",
"",
"",
"",
"",
436 "htcfg0",
"",
"",
"",
"",
"htctl",
"mea",
"asid",
437 "mei",
"ispr",
"pmr",
"icsr",
"intcfg",
"",
"",
"",
438 "tlbsch",
"",
"",
"",
"",
"",
"",
"htscctl",
439 "htsctbl0",
"htsctbl1",
"htsctbl2",
"htsctbl3",
440 "htsctbl4",
"htsctbl5",
"htsctbl6",
"htsctbl7",
443 "",
"",
"",
"",
"",
"",
"",
"",
444 "",
"",
"",
"",
"",
"",
"",
"",
445 "",
"",
"",
"",
"",
"",
"",
"",
446 "",
"",
"",
"",
"",
"",
"",
"",
449 "tlbidx",
"",
"",
"",
"telo0",
"telo1",
"tehi0",
"tehi1",
450 "",
"",
"tlbcfg",
"",
"bwerrl",
"bwerrh",
"brerrl",
"brerrh",
451 "ictagl",
"ictagh",
"icdatl",
"icdath",
452 "dctagl",
"dctagh",
"dcdatl",
"dcdath",
453 "icctrl",
"dcctrl",
"iccfg",
"dccfg",
"icerr",
"dcerr",
"",
"",
456 "mpm",
"mprc",
"",
"",
"mpbrgn",
"mptrgn",
"",
"",
457 "mca",
"mcs",
"mcc",
"mcr",
"",
"",
"",
"",
458 "",
"",
"",
"",
"mpprt0",
"mpprt1",
"mpprt2",
"",
459 "",
"",
"",
"",
"",
"",
"",
"",
462 "mpla0",
"mpua0",
"mpat0",
"",
"mpla1",
"mpua1",
"mpat1",
"",
463 "mpla2",
"mpua2",
"mpat2",
"",
"mpla3",
"mpua3",
"mpat3",
"",
464 "mpla4",
"mpua4",
"mpat4",
"",
"mpla5",
"mpua5",
"mpat5",
"",
465 "mpla6",
"mpua6",
"mpat6",
"",
"mpla7",
"mpua7",
"mpat7",
"",
468 "mpla8",
"mpua8",
"mpat8",
"",
"mpla9",
"mpua9",
"mpat9",
"",
469 "mpla10",
"mpua10",
"mpat10",
"",
"mpla11",
"mpua11",
"mpat11",
"",
470 "mpla12",
"mpua12",
"mpat12",
"",
"mpla13",
"mpua13",
"mpat13",
"",
471 "mpla14",
"mpua14",
"mpat14",
"",
"mpla15",
"mpua15",
"mpat15",
"",
474 "vr0",
"vr1",
"vr2",
"vr3",
"vr4",
"vr5",
"vr6",
"vr7",
475 "vr8",
"vr9",
"vr10",
"vr11",
"vr12",
"vr13",
"vr14",
"vr15",
476 "vr16",
"vr17",
"vr18",
"vr19",
"vr20",
"vr21",
"vr22",
"vr23",
477 "vr24",
"vr25",
"vr26",
"vr27",
"vr28",
"vr29",
"vr30",
"vr31",
481 == ARRAY_SIZE (v850e3v5_reg_names));
482 return v850e3v5_reg_names[
regnum];
500 return (t->
code () != TYPE_CODE_STRUCT
501 && t->
code () != TYPE_CODE_UNION
502 && t->
code () != TYPE_CODE_ARRAY);
511 struct type *fld_type, *tgt_type;
533 if ((
type->
code () == TYPE_CODE_STRUCT
534 ||
type->
code () == TYPE_CODE_UNION)
541 if (fld_type->
code () == TYPE_CODE_ARRAY)
552 if (
type->
code () == TYPE_CODE_STRUCT
559 if (fld_type->
code () == TYPE_CODE_ARRAY)
562 if (tgt_type->
length () > 0
573 if (
type->
code () == TYPE_CODE_UNION)
600 CORE_ADDR current_pc = *current_pc_ptr;
602 long next = insn2 & 0xffff;
603 long list12 = ((insn & 1) << 16) + (next & 0xffe0);
604 long offset = (insn & 0x3e) << 1;
605 static struct reg_list reg_table[] =
623 if ((next & 0x1f) == 0x0b)
625 else if ((next & 0x1f) == 0x13)
627 else if ((next & 0x1f) == 0x1b)
632 for (i = 0; reg_table[i].
mask != 0; i++)
633 if (list12 & reg_table[i].
mask)
642 for (i = 0; reg_table[i].
mask != 0; i++)
644 if (list12 & reg_table[i].
mask)
646 int reg = reg_table[i].
regno;
657 *current_pc_ptr = current_pc;
668 struct pifsr **pifsr_ptr)
671 long list12 = ((insn & 0x0f) << 16) + (insn2 & 0xfff0);
673 static struct reg_list pushml_reg_table[] =
693 static struct reg_list pushmh_reg_table[] =
717 if ((insn2 & 7) == 1)
718 reg_table = pushml_reg_table;
720 reg_table = pushmh_reg_table;
724 for (i = 0; reg_table[i].
mask != 0; i++)
725 if (list12 & reg_table[i].
mask)
734 for (i = 0; reg_table[i].
mask != 0; i++)
736 if (list12 & reg_table[i].
mask)
738 int reg = reg_table[i].
regno;
776 CORE_ADDR func_addr, CORE_ADDR pc,
780 CORE_ADDR prologue_end, current_pc;
785 CORE_ADDR save_pc, save_end;
789 memset (&pifsrs, 0,
sizeof pifsrs);
806 for (current_pc = func_addr; current_pc < prologue_end;)
813 if ((insn & 0x0780) >= 0x0600)
819 if ((insn & 0xffc0) == ((10 << 11) | 0x0780) && !regsave_func_p)
821 long low_disp = insn2 & ~(long) 1;
822 long disp = (((((insn & 0x3f) << 16) + low_disp)
823 & ~(
long) 1) ^ 0x00200000) - 0x00200000;
825 save_pc = current_pc;
826 save_end = prologue_end;
828 current_pc += disp - 4;
829 prologue_end = (current_pc
836 else if ((insn & 0xffc0) == 0x0200 && !regsave_func_p)
838 long adr = ctbp + ((insn & 0x3f) << 1);
840 save_pc = current_pc;
841 save_end = prologue_end;
845 prologue_end = (current_pc
851 else if ((insn & 0xffc0) == 0x0780)
856 else if (insn == 0x07e0 && regsave_func_p && insn2 == 0x0144)
858 current_pc = save_pc;
859 prologue_end = save_end;
863 else if ((insn & 0xfff0) == 0x07e0 && (insn2 & 5) == 1)
868 else if ((insn & 0xffe0) == 0x0060 && regsave_func_p)
870 current_pc = save_pc;
871 prologue_end = save_end;
875 else if ((insn & 0x07c0) == 0x0780
876 || (insn & 0xffe0) == 0x0060
877 || (insn & 0x0780) == 0x0580)
882 else if ((insn & 0xffe0) == ((
E_SP_REGNUM << 11) | 0x0240))
884 pi->
sp_offset += ((insn & 0x1f) ^ 0x10) - 0x10;
893 r12_tmp = insn2 << 16;
906 else if (((insn & 0x07ff) == (0x0760 |
E_SP_REGNUM)
919 && ((insn & 0x0781) == 0x0501)
933 for (pifsr_tmp = pifsrs; pifsr_tmp !=
pifsr; pifsr_tmp++)
947 CORE_ADDR func_addr, func_end;
956 if (sal.
line != 0 && sal.
end < func_end)
1010 struct value *function,
1014 struct value **args,
1017 CORE_ADDR struct_addr)
1039 for (argnum = 0; argnum < nargs; argnum++)
1040 arg_space += ((args[argnum]->
type ()->length () + 3) & ~3);
1041 sp -= arg_space + stack_offset;
1051 for (argnum = 0; argnum < nargs; argnum++)
1062 (*args)->address ());
1068 len = (*args)->type ()->length ();
1069 val = (gdb_byte *) (*args)->contents ().data ();
1077 else if (stack_offset & 0x4)
1132 for (i = 0; len > 0; i += 4, len -= 4)
1135 memcpy (valbuf + i, buf, len > 4 ? 4 : len);
1142 const gdb_byte *valbuf)
1155 for (i = 0; i < len; i += 4)
1163 gdb_byte *readbuf,
const gdb_byte *writebuf)
1184static const gdb_byte *
1191 case bfd_mach_v850e2:
1192 case bfd_mach_v850e2v3:
1193 case bfd_mach_v850e3v5:
1199 static unsigned char dbtrap_breakpoint[] = { 0x40, 0xf8 };
1201 return dbtrap_breakpoint;
1206 static unsigned char breakpoint[] = { 0x85, 0x05 };
1238 CORE_ADDR current_pc;
1245 *this_cache = cache;
1253 if (cache->
base == 0)
1299static struct value *
1301 void **this_cache,
int regnum)
1305 gdb_assert (
regnum >= 0);
1317 if (cache->
base == 0)
1351 int e_flags, e_machine;
1354 if (
info.abfd != NULL
1355 && bfd_get_flavour (
info.abfd) == bfd_target_elf_flavour)
1357 e_flags = elf_elfheader (
info.abfd)->e_flags;
1358 e_machine = elf_elfheader (
info.abfd)->e_machine;
1374 = gdbarch_tdep<v850_gdbarch_tdep> (
arches->gdbarch);
1401 switch (
info.bfd_arch_info->mach)
1407 case bfd_mach_v850e:
1408 case bfd_mach_v850e1:
1412 case bfd_mach_v850e2:
1413 case bfd_mach_v850e2v3:
1417 case bfd_mach_v850e3v5:
gdb_static_assert(sizeof(splay_tree_key) >=sizeof(CORE_ADDR *))
void gdbarch_register(enum bfd_architecture bfd_architecture, gdbarch_init_ftype *init, gdbarch_dump_tdep_ftype *dump_tdep, gdbarch_supports_arch_info_ftype *supports_arch_info)
static std::vector< const char * > arches
int core_addr_lessthan(CORE_ADDR lhs, CORE_ADDR rhs)
struct gdbarch_list * gdbarch_list_lookup_by_info(struct gdbarch_list *arches, const struct gdbarch_info *info)
bool find_pc_partial_function(CORE_ADDR pc, const char **name, CORE_ADDR *address, CORE_ADDR *endaddr, const struct block **block)
enum register_status raw_read(int regnum, gdb_byte *buf)
void raw_write(int regnum, const gdb_byte *buf)
void write_memory(CORE_ADDR memaddr, const bfd_byte *myaddr, ssize_t len)
ULONGEST read_memory_unsigned_integer(CORE_ADDR memaddr, int len, enum bfd_endian byte_order)
LONGEST read_memory_integer(CORE_ADDR memaddr, int len, enum bfd_endian byte_order)
static void store_unsigned_integer(gdb_byte *addr, int len, enum bfd_endian byte_order, ULONGEST val)
static ULONGEST extract_unsigned_integer(gdb::array_view< const gdb_byte > buf, enum bfd_endian byte_order)
@ RETURN_VALUE_REGISTER_CONVENTION
@ RETURN_VALUE_STRUCT_CONVENTION
void dwarf2_append_unwinders(struct gdbarch *gdbarch)
void frame_base_set_default(struct gdbarch *gdbarch, const struct frame_base *default_base)
int default_frame_sniffer(const struct frame_unwind *self, frame_info_ptr this_frame, void **this_prologue_cache)
enum unwind_stop_reason default_frame_unwind_stop_reason(frame_info_ptr this_frame, void **this_cache)
void frame_unwind_append_unwinder(struct gdbarch *gdbarch, const struct frame_unwind *unwinder)
ULONGEST get_frame_register_unsigned(frame_info_ptr frame, int regnum)
CORE_ADDR get_frame_pc(frame_info_ptr frame)
struct frame_id frame_id_build(CORE_ADDR stack_addr, CORE_ADDR code_addr)
struct gdbarch * get_frame_arch(frame_info_ptr this_frame)
CORE_ADDR get_frame_func(frame_info_ptr this_frame)
#define FRAME_OBSTACK_ZALLOC(TYPE)
void set_gdbarch_long_long_bit(struct gdbarch *gdbarch, int long_long_bit)
void set_gdbarch_addr_bit(struct gdbarch *gdbarch, int addr_bit)
void set_gdbarch_char_signed(struct gdbarch *gdbarch, int char_signed)
enum bfd_endian gdbarch_byte_order(struct gdbarch *gdbarch)
void set_gdbarch_breakpoint_kind_from_pc(struct gdbarch *gdbarch, gdbarch_breakpoint_kind_from_pc_ftype *breakpoint_kind_from_pc)
void set_gdbarch_frame_align(struct gdbarch *gdbarch, gdbarch_frame_align_ftype *frame_align)
void set_gdbarch_skip_prologue(struct gdbarch *gdbarch, gdbarch_skip_prologue_ftype *skip_prologue)
void set_gdbarch_register_name(struct gdbarch *gdbarch, gdbarch_register_name_ftype *register_name)
void set_gdbarch_int_bit(struct gdbarch *gdbarch, int int_bit)
void set_gdbarch_return_value(struct gdbarch *gdbarch, gdbarch_return_value_ftype *return_value)
int gdbarch_num_regs(struct gdbarch *gdbarch)
void set_gdbarch_fp0_regnum(struct gdbarch *gdbarch, int fp0_regnum)
void set_gdbarch_double_bit(struct gdbarch *gdbarch, int double_bit)
void set_gdbarch_inner_than(struct gdbarch *gdbarch, gdbarch_inner_than_ftype *inner_than)
void set_gdbarch_sp_regnum(struct gdbarch *gdbarch, int sp_regnum)
void set_gdbarch_pc_regnum(struct gdbarch *gdbarch, int pc_regnum)
void set_gdbarch_register_type(struct gdbarch *gdbarch, gdbarch_register_type_ftype *register_type)
void set_gdbarch_float_bit(struct gdbarch *gdbarch, int float_bit)
void set_gdbarch_short_bit(struct gdbarch *gdbarch, int short_bit)
void set_gdbarch_num_pseudo_regs(struct gdbarch *gdbarch, int num_pseudo_regs)
void set_gdbarch_long_bit(struct gdbarch *gdbarch, int long_bit)
void set_gdbarch_ptr_bit(struct gdbarch *gdbarch, int ptr_bit)
void set_gdbarch_num_regs(struct gdbarch *gdbarch, int num_regs)
const struct bfd_arch_info * gdbarch_bfd_arch_info(struct gdbarch *gdbarch)
void set_gdbarch_long_double_bit(struct gdbarch *gdbarch, int long_double_bit)
void set_gdbarch_sw_breakpoint_from_kind(struct gdbarch *gdbarch, gdbarch_sw_breakpoint_from_kind_ftype *sw_breakpoint_from_kind)
void set_gdbarch_push_dummy_call(struct gdbarch *gdbarch, gdbarch_push_dummy_call_ftype *push_dummy_call)
struct gdbarch * gdbarch_alloc(const struct gdbarch_info *info, gdbarch_tdep_up tdep)
std::unique_ptr< gdbarch_tdep_base > gdbarch_tdep_up
function_call_return_method
const struct builtin_type * builtin_type(struct gdbarch *gdbarch)
struct type * check_typedef(struct type *type)
void gdbarch_init_osabi(struct gdbarch_info info, struct gdbarch *gdbarch)
enum register_status regcache_cooked_read_unsigned(struct regcache *regcache, int regnum, ULONGEST *val)
void regcache_cooked_write_unsigned(struct regcache *regcache, int regnum, ULONGEST val)
struct type * builtin_func_ptr
struct type * builtin_uint64
struct type * builtin_int32
struct type * type() const
void set_addr(LONGEST addr)
void set_value(LONGEST val)
struct type * target_type() const
struct field & field(int idx) const
unsigned int num_fields() const
trad_frame_saved_reg * saved_regs
struct symtab_and_line find_pc_line(CORE_ADDR pc, int notcurrent)
trad_frame_saved_reg * trad_frame_alloc_saved_regs(struct gdbarch *gdbarch)
struct value * trad_frame_get_prev_register(frame_info_ptr this_frame, trad_frame_saved_reg this_saved_regs[], int regnum)
static const struct frame_base v850_frame_base
static void v850_extract_return_value(struct type *type, struct regcache *regcache, gdb_byte *valbuf)
static struct v850_frame_cache * v850_alloc_frame_cache(frame_info_ptr this_frame)
static CORE_ADDR v850_frame_base_address(frame_info_ptr this_frame, void **this_cache)
static int v850_type_is_scalar(struct type *t)
static const struct frame_unwind v850_frame_unwind
@ E_MAX_RETTYPE_SIZE_IN_REGS
static int v850_breakpoint_kind_from_pc(struct gdbarch *gdbarch, CORE_ADDR *pcptr)
static void v850_handle_pushm(int insn, int insn2, struct v850_frame_cache *pi, struct pifsr **pifsr_ptr)
static CORE_ADDR v850_frame_align(struct gdbarch *ignore, CORE_ADDR sp)
static CORE_ADDR v850_skip_prologue(struct gdbarch *gdbarch, CORE_ADDR pc)
static int v850_is_save_register(int reg)
static const char * v850e2_register_name(struct gdbarch *gdbarch, int regnum)
static enum return_value_convention v850_return_value(struct gdbarch *gdbarch, struct value *function, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf)
void _initialize_v850_tdep()
static int v850_eight_byte_align_p(struct type *type)
static int v850_use_struct_convention(struct gdbarch *gdbarch, struct type *type)
static void v850_store_return_value(struct type *type, struct regcache *regcache, const gdb_byte *valbuf)
static const char * v850e_register_name(struct gdbarch *gdbarch, int regnum)
static void v850_handle_prepare(int insn, int insn2, CORE_ADDR *current_pc_ptr, struct v850_frame_cache *pi, struct pifsr **pifsr_ptr)
static const gdb_byte * v850_sw_breakpoint_from_kind(struct gdbarch *gdbarch, int kind, int *size)
static struct value * v850_frame_prev_register(frame_info_ptr this_frame, void **this_cache, int regnum)
static const char * v850e3v5_register_name(struct gdbarch *gdbarch, int regnum)
static void v850_frame_this_id(frame_info_ptr this_frame, void **this_cache, struct frame_id *this_id)
static struct type * v850_register_type(struct gdbarch *gdbarch, int regnum)
static CORE_ADDR v850_push_dummy_call(struct gdbarch *gdbarch, struct value *function, struct regcache *regcache, CORE_ADDR bp_addr, int nargs, struct value **args, CORE_ADDR sp, function_call_return_method return_method, CORE_ADDR struct_addr)
static struct v850_frame_cache * v850_frame_cache(frame_info_ptr this_frame, void **this_cache)
static CORE_ADDR v850_analyze_prologue(struct gdbarch *gdbarch, CORE_ADDR func_addr, CORE_ADDR pc, struct v850_frame_cache *pi, ULONGEST ctbp)
static const char * v850_register_name(struct gdbarch *gdbarch, int regnum)
static struct gdbarch * v850_gdbarch_init(struct gdbarch_info info, struct gdbarch_list *arches)