From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11532 invoked by alias); 9 Nov 2009 20:57:50 -0000 Received: (qmail 11522 invoked by uid 22791); 9 Nov 2009 20:57:49 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 09 Nov 2009 20:57:44 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nA9Kvh6M014212 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 9 Nov 2009 15:57:43 -0500 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nA9KveYg026137 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 9 Nov 2009 15:57:42 -0500 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id nA9Kvdl3019250 for ; Mon, 9 Nov 2009 21:57:39 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.3/Submit) id nA9KvdXg019249 for gdb-patches@sourceware.org; Mon, 9 Nov 2009 21:57:39 +0100 Date: Mon, 09 Nov 2009 20:57:00 -0000 From: Jan Kratochvil To: gdb-patches@sourceware.org Subject: [patch 02/15] PIE: disable_breakpoints_in_shlibs also bp_shlib_event Message-ID: <20091109205739.GC19138@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-08-17) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-11/txt/msg00169.txt.bz2 Hi, Fix error on inserting stale breakpoint of type bp_shlib_event. Thanks, Jan With the patchset applied: x86_64 host i386 target: cd gdb/testsuite; ../gdb -nx -i=mi type == bp_breakpoint) - || (b->type == bp_hardware_breakpoint) - || (b->type == bp_tracepoint)) + if ((b->type == bp_breakpoint + || b->type == bp_hardware_breakpoint + || b->type == bp_tracepoint + || b->type == bp_shlib_event) && loc->pspace == current_program_space && !loc->shlib_disabled #ifdef PC_SOLIB