From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21635 invoked by alias); 10 Apr 2006 07:20:50 -0000 Received: (qmail 21627 invoked by uid 22791); 10 Apr 2006 07:20:50 -0000 X-Spam-Check-By: sourceware.org Received: from dsl027-180-168.sfo1.dsl.speakeasy.net (HELO sunset.davemloft.net) (216.27.180.168) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 10 Apr 2006 07:20:47 +0000 Received: from localhost ([127.0.0.1] ident=davem) by sunset.davemloft.net with esmtp (Exim 4.60) (envelope-from ) id 1FSqhV-0007RU-Rx; Mon, 10 Apr 2006 00:20:41 -0700 Date: Mon, 10 Apr 2006 07:20:00 -0000 Message-Id: <20060410.002041.124255612.davem@davemloft.net> To: nickrob@snap.net.nz Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH]: Fix gdb.mi/mi-regs.exp From: "David S. Miller" In-Reply-To: <17466.931.119823.103959@farnswood.snap.net.nz> References: <17465.33321.414493.769813@farnswood.snap.net.nz> <20060409.203142.76326217.davem@davemloft.net> <17466.931.119823.103959@farnswood.snap.net.nz> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00116.txt.bz2 From: Nick Roberts Date: Mon, 10 Apr 2006 19:05:07 +1200 > But these tests are for the MI interface. Register tests for specific > architectures could presumably go in gdb.base/regs.exp and tests in mi-regs.exp > could be more general e.g just check -data-list-register-names returns a list > of values, count them and use this information for tests on > -data-list-register-values. In the long term that's probably a good idea.