This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Patch 2 of 2 for aarch64 ILP32 support in gdb
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Steve Ellcey <sellcey at caviumnetworks dot com>
- Cc: binutils <binutils at sourceware dot org>, gdb-patches <gdb-patches at sourceware dot org>, Yury Norov <ynorov at caviumnetworks dot com>, Andreas Schwab <schwab at suse dot de>, "Pinski, Andrew" <Andrew dot Pinski at cavium dot com>
- Date: Fri, 3 Feb 2017 09:17:26 +0000
- Subject: Re: [PATCH] Patch 2 of 2 for aarch64 ILP32 support in gdb
- Authentication-results: sourceware.org; auth=none
- References: <1485303639.29977.10.camel@caviumnetworks.com> <20170126141414.GY28060@E107787-LIN> <1485555939.2509.5.camel@caviumnetworks.com> <20170129224045.ekflcodtmfs4hv54@localhost> <1485904559.22118.17.camel@caviumnetworks.com> <CAH=s-PNyfTBiXH-hwLjnTswFLZGF46czNXqBg0TKojEojyB3Sg@mail.gmail.com> <1485995996.22118.34.camel@caviumnetworks.com> <20170202095154.GB27498@E107787-LIN> <1486073021.22118.43.camel@caviumnetworks.com>
On 17-02-02 14:03:41, Steve Ellcey wrote:
> OK, the pthread permission problem was the main cause of my LP64
> failures. I fixed that, ran the standard gdb testsuite on unpatched
> code in parallel mode and got 99 failures. If I run in sequential mode
> I got 74 failures. Updating the kernel got me to 72 failures. Many of
> these are timeouts so I may need to increase that. If I ignore the
> timeouts I have 39 failures, which is pretty close to the 36 from the
> buildbot testing though the list of what is and is not failing is
> different.
The result looks reasonable now.
>
> I then ran the testing with 64 bit programs using the patched sources
> and got about the same results as the unpatched sources on my
> machine. There was one failure that went away (a timeout):
>
> FAIL: gdb.threads/step-over-trips-on-watchpoint.exp: displaced=off: no thread-specific bp: continue: continue (timeout)
>
> And two that appeared:
>
> FAIL: gdb.base/watchpoint.exp: next over buffer set
> FAIL: gdb.base/watchpoint.exp: next over ptr init
>
> When I tested gdb on ILP32 executables I got 235 failures, only 3 of
> which were timeouts. So there are definitely some issues there. One
> thing I noticed is references to ldd. The ldd I have in my path does
> not understand ILP32 executables so that is probably causing some
> failures. I will fix that and see what else I can find to explain the
> ILP32 failures.
>
OK, great!
--
Yao (齐尧)