回复:[PATCH] gdbserver/csky add csky gdbserver support

jiangshuai_li jiangshuai_li@linux.alibaba.com
Wed Sep 14 02:09:48 GMT 2022


>On 2022-08-30 07:39, Jiangshuai Li via Gdb-patches wrote:
>> 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.
>
>Hi,
>
>cskyv2-linux.c is be generated from cskyv2-linux.xml, can you please
>also add the xml file so that people can re-generate the .c file if
>needed?
Thank you for reminding, as i have committed this patch yesterday, i will
 send another patch later to add cskyv2-linux.xml.
 Jiangshuai


More information about the Gdb-patches mailing list