This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [1/2] C-SKY Port
- From: Simon Marchi <simark at simark dot ca>
- To: Hafiz Abid Qadeer <abid_qadeer at mentor dot com>, gdb-patches at sourceware dot org
- Cc: jiangshuai_li at c-sky dot com
- Date: Sat, 20 Oct 2018 22:55:47 -0400
- Subject: Re: [1/2] C-SKY Port
- References: <dd7b53da-8c85-5a5a-c838-9043ced551b7@mentor.com> <d1611d83-3388-6a01-119d-efd64e9802c2@mentor.com>
On 2018-07-25 6:54 a.m., Hafiz Abid Qadeer wrote:
> Add support for new target 'csky'.
>
> 2018-07-25 Jiangshuai Li <jiangshuai_li@c-sky.com>
> Hafiz Abid Qadeer <abidh@codesourcery.com>
> Don Breazeal <donb@codesourcery.com>
>
> * csky-linux-tdep.c: New file.
> * csky-tdep.c: Likewise.
> * csky-tdep.h: Likewise.
> * Makefile.in (ALL_TARGET_OBS): Add csky-linux-tdep.o and
> csky-tdep.o.
> (HFILES_NO_SRCDIR): Add csky-tdep.h.
> (ALLDEPFILES): Add csky-linux-tdep.c and csky-tdep.c
> * configure.tgt: Add csky support.
Hi Hafiz,
I noticed the "cooked_read" selftest fails with c-sky (ever since the c-sky support was added):
(gdb) maintenance selftest cooked_read
Running selftest regcache::cooked_read_test.
...
Self test failed: arch csky: self-test failed at /home/simark/src/binutils-gdb/gdb/regcache.c:1697
Self test failed: arch csky:ck510: self-test failed at /home/simark/src/binutils-gdb/gdb/regcache.c:1697
Self test failed: arch csky:ck610: self-test failed at /home/simark/src/binutils-gdb/gdb/regcache.c:1697
Self test failed: arch csky:ck801: self-test failed at /home/simark/src/binutils-gdb/gdb/regcache.c:1697
Self test failed: arch csky:ck802: self-test failed at /home/simark/src/binutils-gdb/gdb/regcache.c:1697
Self test failed: arch csky:ck803: self-test failed at /home/simark/src/binutils-gdb/gdb/regcache.c:1697
Self test failed: arch csky:ck807: self-test failed at /home/simark/src/binutils-gdb/gdb/regcache.c:1697
Self test failed: arch csky:ck810: self-test failed at /home/simark/src/binutils-gdb/gdb/regcache.c:1697
Self test failed: arch csky:any: self-test failed at /home/simark/src/binutils-gdb/gdb/regcache.c:1697
...
Self test failed: self-test failed at /home/simark/src/binutils-gdb/gdb/selftest-arch.c:86
Ran 1 unit tests, 1 failed
Could you take a look?
Thanks,
Simon