diff options
author | Stafford Horne <shorne@gmail.com> | 2020-10-09 06:26:30 +0900 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2021-10-29 05:22:12 +0900 |
commit | a45b1e66c5da4b8f5f9c39245ad4ea4769e3420a (patch) | |
tree | a95413bec369ebb3917037acbdec512edc77923e /gdb/configure.nat | |
parent | d33637719631e02e3880761b734b54a02e41b06d (diff) | |
download | gdb-a45b1e66c5da4b8f5f9c39245ad4ea4769e3420a.zip gdb-a45b1e66c5da4b8f5f9c39245ad4ea4769e3420a.tar.gz gdb-a45b1e66c5da4b8f5f9c39245ad4ea4769e3420a.tar.bz2 |
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.
Diffstat (limited to 'gdb/configure.nat')
-rw-r--r-- | gdb/configure.nat | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/configure.nat b/gdb/configure.nat index 655c75d..d42cf13 100644 --- a/gdb/configure.nat +++ b/gdb/configure.nat @@ -271,6 +271,10 @@ case ${gdb_host} in NATDEPFILES="${NATDEPFILES} linux-nat-trad.o \ mips-linux-nat.o nat/mips-linux-watch.o" ;; + or1k) + # Host: Linux/OpenRISC + NATDEPFILES="${NATDEPFILES} or1k-linux-nat.o" + ;; pa) # Host: Hewlett-Packard PA-RISC machine, running Linux NATDEPFILES="${NATDEPFILES} hppa-linux-nat.o" |