gdb: or1k: add native linux support
authorStafford Horne <shorne@gmail.com>
Thu, 8 Oct 2020 21:26:30 +0000 (06:26 +0900)
committerStafford Horne <shorne@gmail.com>
Thu, 28 Oct 2021 20:22:12 +0000 (05:22 +0900)
commita45b1e66c5da4b8f5f9c39245ad4ea4769e3420a
treea95413bec369ebb3917037acbdec512edc77923e
parentd33637719631e02e3880761b734b54a02e41b06d
gdb: or1k: add native linux support

This patch adds support for running gdb natively on OpenRISC linux.
Debugging support is provided via the linux PTRACE interface which is
mostly handled by GDB genric code.  This patch provides the logic of how
to read and write the ptrace registers between linux and GDB.

Single stepping is privided in a separate patch.
gdb/Makefile.in
gdb/configure.host
gdb/configure.nat
gdb/or1k-linux-nat.c [new file with mode: 0644]
gdb/or1k-linux-tdep.c
gdb/or1k-linux-tdep.h [new file with mode: 0644]