* v850-tdep.c (v850_generic_reg_names, v850e_reg_names,
authorMark Alexander <marka@cygnus>
Wed, 27 Jan 1999 00:15:00 +0000 (00:15 +0000)
committerMark Alexander <marka@cygnus>
Wed, 27 Jan 1999 00:15:00 +0000 (00:15 +0000)
commit602886332b80616d58974029f8931c1ff9babd90
tree9a43fa81fd16aa78c38e17e65afa0e2d4cff3dc9
parentd8f4ee32b235fe8803c6557c81f1c0dc793e75a8
* v850-tdep.c (v850_generic_reg_names, v850e_reg_names,
v850_register_names, v850_processor_type_table): Declare tables
and structures for handling differences in register names for
v850 and v850e.
(struct reg_list): Define new structure for creating tables
of register bit masks in v850e instrutions.
(handle_prepare, handle_pushm): New helpers for v850_scan_prologue.
(v850_scan_prologue): Recognize v850e instructions: callt, prepare,
and pushm.
(v850_target_architecture_hook): New function to set register
names based on current machine.
(_initialize_v850_tdep): Set up target_architecture_hook.
* config/v850/tm-v850.h (v850_register_names): Declare.
(REGISTER_NAME): Define to refer to v850_register_names.
(SR0_REGNUM, CTBP_REGNUM): Define.
(PS_REGNUM): Redefine in terms of SR0_REGNUM.
gdb/ChangeLog
gdb/config/v850/tm-v850.h
gdb/v850-tdep.c