From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4681 invoked by alias); 10 May 2012 15:31:32 -0000 Received: (qmail 4671 invoked by uid 22791); 10 May 2012 15:31:31 -0000 X-SWARE-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-wg0-f41.google.com (HELO mail-wg0-f41.google.com) (74.125.82.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 10 May 2012 15:31:18 +0000 Received: by wgbds1 with SMTP id ds1so605030wgb.0 for ; Thu, 10 May 2012 08:31:17 -0700 (PDT) Received: by 10.180.101.136 with SMTP id fg8mr17085094wib.4.1336663877355; Thu, 10 May 2012 08:31:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.15.154 with HTTP; Thu, 10 May 2012 08:30:36 -0700 (PDT) In-Reply-To: <4FA8DBB9.50505@codesourcery.com> References: <4F8562B7.20305@mentor.com> <4F9B98E2.9050208@mentor.com> <4F9C17CD.3040901@codesourcery.com> <4FA8CA98.6010503@mentor.com> <4FA8DBB9.50505@codesourcery.com> From: Hui Zhu Date: Thu, 10 May 2012 15:31:00 -0000 Message-ID: Subject: Re: [PATCH v2] Add autoload-breakpoints [2/6] ReportAsync-test To: Yao Qi Cc: Hui Zhu , gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-05/txt/msg00366.txt.bz2 On Tue, May 8, 2012 at 4:39 PM, Yao Qi wrote: > On 05/08/2012 03:26 PM, Hui Zhu wrote: >>> Remote feature should be tested in remote target or board file. >>> You are testing a remote feature GDB unconditionally, even in native >>> gdb. =A0It looks incorrect to me. >>> >> >> This just a check for the this small gdbserver is OK. =A0 I don't think = this test will work with board or something. >> > > My point is this test case exercises some "undesired" features w.r.t. > testsuite and config. =A0I configure and build a native gdb, and type > `make -k check' in gdb build dir. =A0Then, I'll examine the FAILs in > gdb.sum to see the status of native gdb, what does the FAILs, if any, in > gdb.remote/reportasync-test.exp mean to me? =A0It sounds like "I did a > medical check-up to my eyes, but result tells me something wrong in my > ears". =A0However, I am not strongly against this test case. Sorry I didn't get your point. This test is for the GDB, but not for others, right? :) > > We have a sub-dir gdb.server under testsuite/, *.exp are run even when > testing native gdb, but they are test cases to GDBserver, rather than > GDB, AFAICS. =A0When we see some FAILs in it, that means GDBserver has > something wrong, at least ideally :) All of them are for the gdbserver. But this test is not for GDBserver. If you think this dir is OK, I will move it. When gdbserver support some function that use report-async, we can add a new test for that. Thanks, Hui