From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28987 invoked by alias); 10 Aug 2004 19:45:26 -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 28980 invoked from network); 10 Aug 2004 19:45:26 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 10 Aug 2004 19:45:26 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i7AJjPe1023994 for ; Tue, 10 Aug 2004 15:45:25 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i7AJjKa08721; Tue, 10 Aug 2004 15:45:20 -0400 Received: from localhost.localdomain (vpn50-22.rdu.redhat.com [172.16.50.22]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id i7AJjJgU009871; Tue, 10 Aug 2004 15:45:19 -0400 Received: from saguaro (saguaro.lan [192.168.64.2]) by localhost.localdomain (8.12.11/8.12.10) with SMTP id i7AJjExP008142; Tue, 10 Aug 2004 12:45:14 -0700 Date: Tue, 10 Aug 2004 19:45:00 -0000 From: Kevin Buettner To: Jeff Johnston Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA]: Fix for pending breakpoints in manually loaded/unloaded shlibs Message-Id: <20040810124514.0e20f9d6@saguaro> In-Reply-To: <41191D71.60204@redhat.com> References: <41191D71.60204@redhat.com> Organization: Red Hat Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2004-08/txt/msg00367.txt.bz2 On Tue, 10 Aug 2004 15:09:37 -0400 Jeff Johnston wrote: > 2004-08-10 Jeff Johnston > > * observer.sh: Add struct so_list declaration. > * Makefile.in: Add dependencies on observer.h for solib.c and > breakpoint.c. > * breakpoint.c (disable_breakpoints_in_unloaded_shlib): New > function. > (_initialize_breakpoint): Register > disable_breakpoints_in_unloaded_shlib as an observer of the > "solib unloaded" observation event. > (re_enable_breakpoints_in_shlibs): For bp_shlib_disabled breakpoints, > call decode_line_1 so unfound breakpoint errors are silent. > * solib.c (update_solib_list): When a solib is discovered to have > been unloaded by the program, notify all observers of the > "solib unloaded" observation event. Your changes to solib.c are approved. Kevin