From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22609 invoked by alias); 4 Dec 2007 21:08:17 -0000 Received: (qmail 22601 invoked by uid 22791); 4 Dec 2007 21:08:17 -0000 X-Spam-Check-By: sourceware.org Received: from heller.inter.net.il (HELO heller.inter.net.il) (213.8.233.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 04 Dec 2007 21:08:11 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-229-222-88.inter.net.il [84.229.222.88]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id EHA42312 (AUTH halo1); Tue, 4 Dec 2007 23:07:51 +0200 (IST) Date: Tue, 04 Dec 2007 21:08:00 -0000 Message-Id: From: Eli Zaretskii To: Vladimir Prus CC: msnyder@specifix.com, gdb@sources.redhat.com In-reply-to: <200712041025.15416.vladimir@codesourcery.com> (message from Vladimir Prus on Tue, 4 Dec 2007 10:25:15 +0300) Subject: Re: Watchpoints with condition Reply-to: Eli Zaretskii References: <200711301925.20196.vladimir@codesourcery.com> <1196733050.2501.200.camel@localhost.localdomain> <200712041025.15416.vladimir@codesourcery.com> 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: 2007-12/txt/msg00031.txt.bz2 > From: Vladimir Prus > Date: Tue, 4 Dec 2007 10:25:15 +0300 > Cc: gdb@sources.redhat.com > > One of the specific concern is what happens if a watchpoint's > condition refers to a global variable in a library that is unloaded > and if that scenario is of interest to anybody. That scenario is of interest, as it isn't different from a global variable in `main'. How code is divided between the main body and shared libraries is immaterial.