This is a version of the target descriptor support using group names
from the target descriptor file.

In this version, tdesc feature names are predefined in GDB. It defines 32
possible features (org.gnu.gdb.or32.group[0..31]) corresponding to the
openrisc architecture manual definition.

Each register can be put in a group (there is no limit) using the "group"
attibute of the register description in the XML feature.

Groups are created at runtime. 

Franck Jullien (3):
  or32: set gdbarch num regs to gpr + spr regs
  target-description: add tdesc_find functions
  or32: add target descriptor support

 gdb/or32-tdep.c           |  227 +++++++++++++++++++++++++++++++++++++++++++--
 gdb/or32-tdep.h           |    4 +-
 gdb/target-descriptions.c |   48 ++++++++-
 gdb/target-descriptions.h |   11 ++
 4 files changed, 273 insertions(+), 17 deletions(-)

_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc

Reply via email to