This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cannot insert breakpoint -1.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]