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, 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?

"maint info break" will give you some more information.  This is
probably a shared library event breakpoint.
>  (The entry point is likely not mapped into the TLB at that stage and so it is
>  really a visible problem, else it just does this silently without it getting
>  any attention).

IMO it's a bug in your stub if you can't set breakpoints when not
mapped into the TLB...

-- 
Daniel Jacobowitz
CodeSourcery


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