I am faced with a somewhat consistent problem with putting two breakpoints
at the same place and different stop conditions.  Sometimes gdb crashes,
sometimes it's exceedingly slow (sometimes it seems like an infinite loop,
other times it definitely progresses), sometimes it claims the program
crashed (in _init for instance).  I believe I've seen it succeed, although
maybe that's just my recollection from 4.18.

If instead I conjoin the two conditions on one breakpoint, things work
fine (so 
        b foo if arg==0
        b foo if arg==1
fails, but
        b foo if arg==0 || arg==1
succeeds).

I'm using gdb 5.0 ; my programs are mixed C and C++, or just C++ ; I
compile using gcc-2.95.2 with -O2 -g -fPIC ; I see the problem on both
Linux 2.2.x and Solaris 2.6

        -- Benoît

_______________________________________________
Bug-gdb mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gdb

Reply via email to