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 /gdb/features | |
parent | cf365c10d0786a4fd2423d451596b879ee44627a (diff) | |
download | gdb-4933265c3f71b9134363d0c05f09542d5cc677f4.zip gdb-4933265c3f71b9134363d0c05f09542d5cc677f4.tar.gz 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 'gdb/features')
-rw-r--r-- | gdb/features/Makefile | 1 | ||||
-rw-r--r-- | gdb/features/or1k-linux.xml | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/gdb/features/Makefile b/gdb/features/Makefile index e478bf8..311176a 100644 --- a/gdb/features/Makefile +++ b/gdb/features/Makefile @@ -47,6 +47,7 @@ WHICH = mips-linux mips-dsp-linux \ mips64-linux mips64-dsp-linux \ nios2-linux \ + or1k-linux \ rs6000/powerpc-32 \ rs6000/powerpc-32l rs6000/powerpc-altivec32l rs6000/powerpc-e500l \ rs6000/powerpc-64l rs6000/powerpc-altivec64l rs6000/powerpc-vsx32l \ diff --git a/gdb/features/or1k-linux.xml b/gdb/features/or1k-linux.xml new file mode 100644 index 0000000..598538d --- /dev/null +++ b/gdb/features/or1k-linux.xml @@ -0,0 +1,13 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2021 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!DOCTYPE target SYSTEM "gdb-target.dtd"> +<target> + <architecture>or1k</architecture> + <osabi>GNU/Linux</osabi> + <xi:include href="or1k-core.xml"/> +</target> |