From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10451 invoked by alias); 30 Aug 2002 19:39:59 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 10443 invoked from network); 30 Aug 2002 19:39:59 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 30 Aug 2002 19:39:59 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 57F9B3C6A; Fri, 30 Aug 2002 15:39:59 -0400 (EDT) Message-ID: <3D6FCA0F.8050407@ges.redhat.com> Date: Fri, 30 Aug 2002 12:44:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Keith Seitz Cc: gdb-patches@sources.redhat.com, Elena Zannoni Subject: Re: [RFA] stack.c: Always set current_source_{symtab,line} References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-08/txt/msg01044.txt.bz2 > On Thu, 29 Aug 2002, Elena Zannoni wrote: > > >> Another thought: could a testcase be added, just like the one below? > > > Already in mi-cli.exp on the branch. (I think I submitted it, too, to this > list.) The method is different, but it demonstrates the failure using > "list" with the console interpreter. For MI, the testcase needs to go in at the same time as the fix (this is stronger then the rest of GDB where it is a ``should''). It's also important to check that the test actually fails without the fix. That way we know that the change at least fixed something :-) enjoy, Andrew