From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15000 invoked by alias); 24 Jul 2009 22:01:25 -0000 Received: (qmail 14627 invoked by uid 22791); 24 Jul 2009 22:01:24 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_22 X-Spam-Check-By: sourceware.org Received: from az33egw02.freescale.net (HELO az33egw02.freescale.net) (192.88.158.103) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 24 Jul 2009 22:01:17 +0000 Received: from de01smr01.freescale.net (de01smr01.freescale.net [10.208.0.31]) by az33egw02.freescale.net (8.14.3/az33egw02) with ESMTP id n6OM0lw2009731; Fri, 24 Jul 2009 15:00:47 -0700 (MST) Received: from lds03-tx32 (lds03-tx32.am.freescale.net [10.83.20.63]) by de01smr01.freescale.net (8.13.1/8.13.0) with ESMTP id n6OM0o4r005403; Fri, 24 Jul 2009 17:00:50 -0500 (CDT) Date: Fri, 24 Jul 2009 22:01:00 -0000 From: "Anmol P. Paralkar" To: Daniel Jacobowitz cc: gdb@sourceware.org Subject: Re: Cannot insert breakpoint -1. In-Reply-To: <20090724211855.GA23302@caradoc.them.org> Message-ID: References: <20090724211855.GA23302@caradoc.them.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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: 2009-07/txt/msg00193.txt.bz2 On Fri, 24 Jul 2009, Daniel Jacobowitz wrote: > On Fri, Jul 24, 2009 at 04:12:08PM -0500, Anmol P. Paralkar wrote: >> Hello, >> >> Is there a reason why GDB will try to set a breakpoint (breakpoint number: -1) at >> the entry point address on a 'c', after a 'target remote'? (I am using a GDB stub >> at the remote end that resides in a hypervisor upon which guest OS'es run). >> >> I am using gdb-6.8.50.20090717; but, I suppose that this is general GDB behaviour. > > What target is it configured for? The target is: powerpc-linux-gnu The application is not a linux application, but a "guest" OS that runs on top of the hypervisor. > > "maint info break" will give you some more information. This is > probably a shared library event breakpoint. Yes, I see: (gdb) maintenance info breakpoints Num Type Disp Enb Address What -1 shlib events keep y 0x00110000 <_start> How do I delete it/prevent it from being set? Is this a configure time setting? I tried: (gdb) delete -1 negative value -- Thanks a lot! Anmol.