Article View: gnu.gdb.bug
Article #777GDB 3.1.1 doesn't do && order
From: Roland McGrath
Date: Thu, 11 May 1989 05:45
Date: Thu, 11 May 1989 05:45
4 lines
616 bytes
616 bytes
If I have a breakpoint set with the condition deps != 0 && deps->name[0] == 'b' GDB 3.1.1 will try to do the "deps->name[0] == 'b'" test, contrary to C evaluation order.
Technical Details
Message-ID:
<8905110545.AA00650@homer.Berkeley.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!GINGER.BERKELEY.EDU!mcgrath%homer.Berkeley.EDUShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!GINGER.BERKELEY.EDU!mcgrath%homer.Berkeley.EDU From: mcgrath%homer.Berkeley.EDU@GINGER.BERKELEY.EDU (Roland McGrath) Newsgroups: gnu.gdb.bug Subject: GDB 3.1.1 doesn't do && order Message-ID: <8905110545.AA00650@homer.Berkeley.EDU> Date: 11 May 89 05:45:33 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 4