From 4933265c3f71b9134363d0c05f09542d5cc677f4 Mon Sep 17 00:00:00 2001 From: Stafford Horne Date: Sun, 16 Aug 2020 06:04:05 +0900 Subject: 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. --- gdb/features/Makefile | 1 + gdb/features/or1k-linux.xml | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 gdb/features/or1k-linux.xml (limited to 'gdb/features') 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 @@ + + + + + + or1k + GNU/Linux + + -- cgit v1.1