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/regformats | |
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/regformats')
-rw-r--r-- | gdb/regformats/or1k-linux.dat | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gdb/regformats/or1k-linux.dat b/gdb/regformats/or1k-linux.dat new file mode 100644 index 0000000..7b64646 --- /dev/null +++ b/gdb/regformats/or1k-linux.dat @@ -0,0 +1,40 @@ +# THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi :set ro: +# Generated from: or1k-linux.xml +name:or1k_linux +xmltarget:or1k-linux.xml +expedite:r1,npc +32:r0 +32:r1 +32:r2 +32:r3 +32:r4 +32:r5 +32:r6 +32:r7 +32:r8 +32:r9 +32:r10 +32:r11 +32:r12 +32:r13 +32:r14 +32:r15 +32:r16 +32:r17 +32:r18 +32:r19 +32:r20 +32:r21 +32:r22 +32:r23 +32:r24 +32:r25 +32:r26 +32:r27 +32:r28 +32:r29 +32:r30 +32:r31 +32:ppc +32:npc +32:sr |