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/or1k-linux.xml | |
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/or1k-linux.xml')
-rw-r--r-- | gdb/features/or1k-linux.xml | 13 |
1 files changed, 13 insertions, 0 deletions
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> |