arc: New Synopsys ARC port
authorAnton Kolesov <Anton.Kolesov@synopsys.com>
Fri, 12 Aug 2016 17:02:20 +0000 (20:02 +0300)
committerAnton Kolesov <Anton.Kolesov@synopsys.com>
Wed, 21 Sep 2016 18:07:06 +0000 (21:07 +0300)
commitad0a504f7e10ea11dbf58eb9990a5180f781b695
tree3ea333a32246db9c625590e3d5fbc8f8d75e4316
parent8aabe2e254e6a0419db9c6397c4068c69bfd95b0
arc: New Synopsys ARC port

ARC is a family of licensable processors developed by Synopsys.

This is an initial patch that doesn't yet support some of the features, that
are already available in Synopsys' fork of GDB, namely:

  * longjmp support
  * signal frame handling
  * prologue analysis
  * Linux targets support
  * native Linux support

ARC cores are configurable and extensible, which means from debugger
perspective that some registers and debug capabilities are optional, therefore
it is up to the GDB stub to determine exact list of register available on
target and supply it to GDB via XML target descriptions.  List of registers
that is known to GDB and is required is intentionally kept small to simplify
requirements to GDB stub and implementation of a GDB client.

gdb/ChangeLog:

* Makefile.in (ALL_TARGET_OBS): Add arc-tdep.o.
(HFILES_NO_SRCDIR): Add arc-tdep.h.
(ALLDEPFILES): Add arc-tdep.c.
* NEWS: Mention new ARC port.
* configure.tgt: Add ARC.
* arc-tdep.c: New file.
* arc-tdep.h: New file.
* features/Makefile (XMLTOC): Add arc-v2.xml and arc-arcompact.xml.
* features/arc-v2.xml: New file.
* features/arc-v2.c: New file (generated).
* features/arc-arcompact.xml: New file.
* features/arc-arcompact.c: New file (generated).

gdb/doc/ChangeLog:

* gdb.texinfo (Embedded Processors): Document ARC.
(Synopsys ARC): New section.
(Standard Target Features): Document ARC features.
(ARC Features): New section.

gdb/testsuite/ChangeLog:

* gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
15 files changed:
gdb/ChangeLog
gdb/Makefile.in
gdb/NEWS
gdb/arc-tdep.c [new file with mode: 0644]
gdb/arc-tdep.h [new file with mode: 0644]
gdb/configure.tgt
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/features/Makefile
gdb/features/arc-arcompact.c [new file with mode: 0644]
gdb/features/arc-arcompact.xml [new file with mode: 0644]
gdb/features/arc-v2.c [new file with mode: 0644]
gdb/features/arc-v2.xml [new file with mode: 0644]
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.xml/tdesc-regs.exp
This page took 0.027493 seconds and 4 git commands to generate.