From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27613 invoked by alias); 26 Feb 2013 17:28:09 -0000 Received: (qmail 27603 invoked by uid 22791); 26 Feb 2013 17:28:07 -0000 X-SWARE-Spam-Status: No, hits=-6.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-ve0-f171.google.com (HELO mail-ve0-f171.google.com) (209.85.128.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 26 Feb 2013 17:28:04 +0000 Received: by mail-ve0-f171.google.com with SMTP id b10so3862319vea.16 for ; Tue, 26 Feb 2013 09:28:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=EMlGRD6D3xr5ZmTSy5WA7fTnKIAkYl3TXd54vBZ+1YA=; b=gX0xk1KYla+Q/bHVMjEGrJwrirwcuxKJJjl/V4jnjUTPWph890l8FgZcisrcvdaSGt 4ySBMhf86fmCTXyoShDhYSTl3tJIH9aDPna3c3MA66YOC65Cro4qAU2eHY3xoPZvEjL8 IAS5oszp6VrEwpkJQtK1/ZdROsOWiTuAGtOFOHQ6eWQD8OPNuhHFzO1a6sCi1FPFE8yp 4DX9oeSRDeEoG06r4QlE9JF7kdFyOnp3ARd602omQvqs5EAZ2uEbhwWJlALxJav+hc6P b5SrO0VejdJhyRHEsHOh5qaDo+Sz/0k+JmYC5u5/SOTDbWAdPWlXe3+G0EvqvVH9QrJB kfhg== MIME-Version: 1.0 X-Received: by 10.58.239.38 with SMTP id vp6mr12527731vec.13.1361899683476; Tue, 26 Feb 2013 09:28:03 -0800 (PST) Received: by 10.220.200.137 with HTTP; Tue, 26 Feb 2013 09:28:03 -0800 (PST) In-Reply-To: References: Date: Tue, 26 Feb 2013 17:28:00 -0000 Message-ID: Subject: Re: [Discussion] add a build option for test to gdbserver From: Doug Evans To: Hui Zhu Cc: gdb , sanimir.agovic@intel.com, Stan Shebs Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkHY28NZGIxlZp4YhjeA5JaTxZ1OxI+N4I67tdZPceWd6QROOrNRYAyQyG1nx0JhL7csAtYYfOuYj7tOLFZD5jLf0qGcHlF1vD9XZ+bcj+bwCfg16dS77dT8IHFZFXFpoiP3RRr1/JyfO2lq+rZqGozHS3OMaOynyZIyqUAjs51LUrVr+HXz6f2jQQ+ZQgkdFuu+0aV X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2013-02/txt/msg00091.txt.bz2 On Tue, Feb 19, 2013 at 8:40 AM, Hui Zhu wrote: > Hi guys, > > There are more and more function add to the target remote to support > different gdbstub. > Some of them can add a this function to gdbserver. Then the testsuite > for it can just test with gdbserver. For example: tracepoint. > > But some function is hard to achieve or not very useful for gdbsever. > I just work on some patches just have this function for example: TD > breakpoint. TA. > So I suggest what about add a build option for test to gdbserver? this > option just for test. > It maybe just send some fake package back to GDB remote or something. > Then we can easier write test for this remote patches. Hi. I think you need to elaborate. Setting aside unittests that can test individual pieces of gdb/gdbserver, something has to talk to gdbserver in order to test it, and there is testsuite/gdb.server for gdbserver specific tests.