Pending breakpoints

Vladimir Prus ghost@cs.msu.su
Thu Apr 3 17:55:00 GMT 2008


Daniel Jacobowitz wrote:

> On Thu, Apr 03, 2008 at 11:00:35PM +1200, Nick Roberts wrote:
>>     -6      longjmp        keep n   0xb7da7be0 <siglongjmp>
>>     -7      longjmp        keep n   0xb7da7be0 <siglongjmp>
>>     -8      longjmp        keep n   0xb7da7be0 <siglongjmp>
> 
> Actually this is the one I consider a problem; it's weird that we look
> up the symbol name for this.  We set breakpoints on longjmp and
> _longjmp and siglongjmp just in case they're different.  And that
> predates your change.
> 
>>  > Even better would be to discard locations when we shlib_disable a
>>  > breakpoint, and get rid of the shlib_disable flag.  But doing that may
>>  > require that we get rid of shared libraries when we're supposed to.
>> 
>> Would that `solve' this problem?
> 
> I hope so.

Then, we won't have any place to remember if any individual location is
enabled or disabled.

- Volodya




More information about the Gdb-patches mailing list