diff options
author | Stafford Horne <shorne@gmail.com> | 2020-08-16 06:04:05 +0900 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2021-10-29 05:22:12 +0900 |
commit | 4933265c3f71b9134363d0c05f09542d5cc677f4 (patch) | |
tree | b291e70e95620bba525afe2b607a6975772dc9cc /gdbserver/configure.srv | |
parent | cf365c10d0786a4fd2423d451596b879ee44627a (diff) | |
download | fsf-binutils-gdb-4933265c3f71b9134363d0c05f09542d5cc677f4.zip fsf-binutils-gdb-4933265c3f71b9134363d0c05f09542d5cc677f4.tar.gz fsf-binutils-gdb-4933265c3f71b9134363d0c05f09542d5cc677f4.tar.bz2 |
gdb: or1k: implement gdb server
This patch adds gdbserver support for OpenRISC. This has been used for
debugging the glibc port that in being worked on here:
https://github.com/openrisc/or1k-glibc/tree/or1k-port-2
Hence the comment about registers definitions being inline with glibc.
Diffstat (limited to 'gdbserver/configure.srv')
-rw-r--r-- | gdbserver/configure.srv | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdbserver/configure.srv b/gdbserver/configure.srv index 971f537..6e09b0e 100644 --- a/gdbserver/configure.srv +++ b/gdbserver/configure.srv @@ -175,6 +175,14 @@ case "${gdbserver_host}" in srv_linux_usrregs=yes srv_linux_thread_db=yes ;; + or1k*-*-linux*) srv_regobj="or1k-linux.o" + srv_tgtobj="$srv_linux_obj linux-or1k-low.o" + srv_xmlfiles="or1k-linux.xml" + srv_xmlfiles="${srv_xmlfiles} or1k-core.xml" + srv_linux_regsets=yes + srv_linux_usrregs=yes + srv_linux_thread_db=yes + ;; powerpc*-*-linux*) srv_regobj="powerpc-32l.o" srv_regobj="${srv_regobj} powerpc-altivec32l.o" srv_regobj="${srv_regobj} powerpc-vsx32l.o" |