From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id A7AA83858D39 for ; Tue, 13 Sep 2022 13:28:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A7AA83858D39 Received: from [10.0.0.11] (unknown [217.28.27.60]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id CA3501E0D5; Tue, 13 Sep 2022 09:28:20 -0400 (EDT) Message-ID: <5811916b-08c7-fdf9-0c74-4a0b079e4d20@simark.ca> Date: Tue, 13 Sep 2022 09:28:20 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 Subject: Re: [PATCH] gdbserver/csky add csky gdbserver support Content-Language: en-US To: Jiangshuai Li , gdb-patches@sourceware.org References: <20220830113923.38562-1-jiangshuai_li@linux.alibaba.com> From: Simon Marchi In-Reply-To: <20220830113923.38562-1-jiangshuai_li@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2022 13:28:22 -0000 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? Simon