Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!ames!ucbcad!ucbvax!sdcsvax!sdics!wallen From: wallen@sdics.UUCP Newsgroups: comp.unix.wizards Subject: Re: Does the dbx debugger work? Message-ID: <270@sdics.ucsd.EDU> Date: Tue, 27-Jan-87 13:55:55 EST Article-I.D.: sdics.270 Posted: Tue Jan 27 13:55:55 1987 Date-Received: Sat, 14-Feb-87 13:02:27 EST References: <3647@brl-adm.ARPA> Organization: Institute for Cognitive Science, UC San Diego Lines: 18 Summary: memory management assist for dbx? Couldn't one assist dbx with some ioctl()s to turn of write access (or read access) to certain pages that contained the variables you wanted to trace? When the program tried to access that page, it would stop with a fault. Then dbx would decide if the faulting address was one of interest or not. If so, halt and interact with the user, otherwise (or after a continue) turn write (or read) access for the page back on, single step the faulting instruction, turn the access back off and then run. Then the program should run at full steam except where it pinged on pages with traced variables. Mark R Wallen Institute for Cognitive Science UC San Diego wallen@ucsd.edu