From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23112 invoked by alias); 2 May 2002 18:22:03 -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 23014 invoked from network); 2 May 2002 18:22:00 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 2 May 2002 18:22:00 -0000 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id LAA16286; Thu, 2 May 2002 11:18:29 -0700 (PDT) Message-ID: <3CD17FFF.EA7ECEA@redhat.com> Date: Thu, 02 May 2002 11:22:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Accept-Language: en MIME-Version: 1.0 To: Michael Elizabeth Chastain CC: ac131313@cygnus.com, fnf@redhat.com, gdb-patches@sources.redhat.com Subject: Re: [RFA] Fix problem with watchpoint test in gdb.base/commands.exp References: <200205021548.g42Fm0N21089@duracef.shout.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-05/txt/msg00047.txt.bz2 Michael Elizabeth Chastain wrote: > > Andrew Cagney writes: > > > ... so there may not necessarily be a frame change. > > Right. > > > However, if the frame has gone (or is being destroyed) the variable > > is out of scope. > > The problem is with the recursive case, where there are several frames > which map to the same line numbers, and several instances of the variable. > gdb could have bugs where it creates a watchpoint for one of these frames, > but then deletes it when an inferior frame exits. With this patch, > the test suite wouldn't detect such a bug. Right, I agree.