binutils-gdb/gdb/features
Jiangshuai Li 02cd1b4e97 gdbserver/csky add csky gdbserver support
Add new files:
  gdb/arch/csky.c
  gdb/arch/csky.h
  gdb/features/cskyv2-linux.c
  gdbserver/linux-csky-low.cc

1. In gdb/arch/csky.c file, add function "csky_create_target_description()"
for csky_target::low_arch_setup(). later, it can be used for csky native gdb.

2. In gdb/features/cskyv2-linux.c file, create target_tdesc for csky, include
gprs, pc, hi, lo, float, vector and float control registers.

3. In gdbserver/linux-csky-low.cc file, using PTRACE_GET/SET_RGESET to
get/set registers. The main data structures in asm/ptrace.h are:
struct pt_regs {
    unsigned long   tls;
    unsigned long   lr;
    unsigned long   pc;
    unsigned long   sr;
    unsigned long   usp;

    /*
     * a0, a1, a2, a3:
     * r0, r1, r2, r3
     */
    unsigned long   orig_a0;
    unsigned long   a0;
    unsigned long   a1;
    unsigned long   a2;
    unsigned long   a3;

    /*
     * r4 ~ r13
     */
    unsigned long   regs[10];

    /* r16 ~ r30 */
    unsigned long   exregs[15];

    unsigned long   rhi;
    unsigned long   rlo;
    unsigned long   dcsr;
};

struct user_fp {
    unsigned long   vr[96];
    unsigned long   fcr;
    unsigned long   fesr;
    unsigned long   fid;
    unsigned long   reserved;
};
2022-09-13 11:20:54 +08:00
..
arc Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
arm Add an arm-tls feature which includes the tpidruro register from CP15. 2022-05-03 16:05:10 -07:00
i386 gdb: Consolidate 32bit-pkeys.xml and 64bit-pkeys.xml 2022-03-31 10:25:26 -07:00
loongarch gdb/gdbserver: LoongArch: Improve implementation of fcc registers 2022-08-09 22:22:23 +08:00
riscv gdb/riscv: better support for fflags and frm registers 2022-08-31 16:07:05 +01:00
rs6000 Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
sparc Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
aarch64-core.c Expose the BTI BTYPE more explicitly in the registers 2021-11-17 10:55:44 -03:00
aarch64-core.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
aarch64-fpu.c
aarch64-fpu.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
aarch64-mte.c AArch64: Add target description/feature for MTE registers 2021-03-24 14:52:08 -03:00
aarch64-mte.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
aarch64-pauth.c
aarch64-pauth.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
aarch64-sve.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
aarch64-tls.c Add an aarch64-tls feature which includes the tpidr register. 2022-05-03 16:05:10 -07:00
aarch64-tls.xml Add an aarch64-tls feature which includes the tpidr register. 2022-05-03 16:05:10 -07:00
btrace-conf.dtd Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
btrace.dtd Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
cskyv2-linux.c gdbserver/csky add csky gdbserver support 2022-09-13 11:20:54 +08:00
feature_to_c.sh Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
gdb-target.dtd Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
gdbserver-regs.xsl
library-list-aix.dtd Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
library-list-svr4.dtd Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
library-list.dtd Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
m68k-core.xml
Makefile gdb: LoongArch: Add floating-point support 2022-07-12 20:14:48 +08:00
microblaze-core.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
microblaze-stack-protect.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
microblaze-with-stack-protect.c
microblaze-with-stack-protect.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
microblaze.c
microblaze.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
mips64-cp0.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
mips64-cpu.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
mips64-dsp-linux.c
mips64-dsp-linux.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
mips64-dsp.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
mips64-fpu.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
mips64-linux.c
mips64-linux.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
mips-cp0.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
mips-cpu.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
mips-dsp-linux.c
mips-dsp-linux.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
mips-dsp.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
mips-fpu.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
mips-linux.c
mips-linux.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
nds32-core.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
nds32-fpu.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
nds32-system.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
nds32.c gdb/nds32: update features/nds32.c 2022-08-14 14:54:26 +01:00
nds32.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
nios2-cpu.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
nios2-linux.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
nios2.c
nios2.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
number-regs.xsl
or1k-core.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
or1k-linux.c gdb: or1k: add generated linux descriptor file 2021-10-29 05:22:12 +09:00
or1k-linux.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
or1k.c
or1k.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
osdata.dtd Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
rx.c
rx.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390-acr.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390-core32.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390-core64.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390-fpr.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390-gs-linux64.c
s390-gs-linux64.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390-gs.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390-gsbc.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390-linux32.c
s390-linux32.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390-linux32v1.c
s390-linux32v1.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390-linux32v2.c
s390-linux32v2.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390-linux64.c
s390-linux64.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390-linux64v1.c
s390-linux64v1.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390-linux64v2.c
s390-linux64v2.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390-tdb.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390-te-linux64.c
s390-te-linux64.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390-tevx-linux64.c
s390-tevx-linux64.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390-vx-linux64.c
s390-vx-linux64.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390-vx.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390x-core64.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390x-gs-linux64.c
s390x-gs-linux64.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390x-linux64.c
s390x-linux64.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390x-linux64v1.c
s390x-linux64v1.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390x-linux64v2.c
s390x-linux64v2.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390x-te-linux64.c
s390x-te-linux64.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390x-tevx-linux64.c
s390x-tevx-linux64.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
s390x-vx-linux64.c
s390x-vx-linux64.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
sort-regs.xsl
threads.dtd Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
tic6x-c6xp.c
tic6x-c6xp.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
tic6x-c62x-linux.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
tic6x-c64x-linux.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
tic6x-c64xp-linux.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
tic6x-core.c
tic6x-core.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
tic6x-gp.c
tic6x-gp.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
traceframe-info.dtd Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
xinclude.dtd Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
z80-cpu.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
z80.c Add basic Z80 CPU support 2021-07-17 10:17:30 -04:00
z80.xml Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00