Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!agate!darkstar!ucscf.UCSC.EDU!isbell From: isbell@ucscf.UCSC.EDU (Art Isbell) Newsgroups: comp.sys.next Subject: Re: dwrite snooping Summary: To prevent repeated output, add 2 as argument to "cont". Keywords: dwrite Message-ID: <16491@darkstar.ucsc.edu> Date: 1 Jun 91 20:57:01 GMT References: <1991May30.192730.10453@nntp-server.caltech.edu> Sender: usenet@darkstar.ucsc.edu Distribution: comp Organization: none really - just me Lines: 33 In article mdixon@parc.xerox.com (Mike Dixon) writes: >start the application under gdb, and then try the following sequence of >commands: > break *0x500976a > commands 1 > silent > printf "%s: ", *$a2 > output {char *}(4+$a2) > echo \n > cont > end > run >-- When I run this, each default is printed twice. By giving "cont" an argument of 2, repeated output is prevented: break *0x500976a commands 1 silent printf "%s: ", *$a2 output {char *}(4+$a2) echo \n cont 2 end run -- _____ ____ Art Isbell |\ | HELP! | | | \ 315 Moon Meadow Lane NeXT Registered Developer | \ | ___ |____| | | Felton, CA 95018-9442 isbell@ucscf.UCSC.EDU | \ | |___| | \ | | (408)335-1154 => I NEED TO FIND NEXT ==> | \| |___ | \ |___/ ==> DEVELOPMENT WORK <=