From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24290 invoked by alias); 2 May 2002 18:23:32 -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 24282 invoked from network); 2 May 2002 18:23:30 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 2 May 2002 18:23:30 -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 LAA16355; Thu, 2 May 2002 11:19:56 -0700 (PDT) Message-ID: <3CD18056.893FE00F@redhat.com> Date: Thu, 02 May 2002 11:23:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Accept-Language: en MIME-Version: 1.0 To: Eli Zaretskii CC: Michael Elizabeth Chastain , fnf@redhat.com, gdb-patches@sources.redhat.com Subject: Re: [RFA] Fix problem with watchpoint test in gdb.base/commands.exp References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-05/txt/msg00049.txt.bz2 Eli Zaretskii wrote: > > On Thu, 2 May 2002, Michael Elizabeth Chastain wrote: > > > gdb.texinfo says: > > > > @value{GDBN} automatically deletes watchpoints that watch local > > (automatic) variables, or expressions that involve such variables, when > > they go out of scope, that is, when the execution leaves the block in > > which these variables were defined. > > Btw, I think this is a misfeature: GDB should disable the watchpoints, > but not delete them. Hmmm... I thought that was (effectively) what happened. I know there's an invisible "out of scope" breakpoint sometimes, and I thought it was that breakpoint that was deleted, not the watchpoint itself. Was I wrong?