Does the 'dbx' debugger work?

chris at mimsy.UUCP chris at mimsy.UUCP
Sun Jan 25 04:28:38 AEST 1987


I cannot say whether the Ultrix 1.2 dbx is broken.  But re:

In article <735 at cullvax.UUCP> drw at cullvax.UUCP writes:
>Also, putting in stops or traces seems to slow execution by much more
>than I expect.

How much do you expect?

Adding `stop at' is easy.  Adding `stop when' or `trace' is hard.
`Stop at' is easy because a line translates to a particular machine
instruction address, and dbx can insert a breakpoint there.  `Stop
when' or `trace' is hard because the only way dbx can do this is
to single step every instruction, and check after each instruction
to see whether an appropriate change has occurred.

Basically, dbx needs better control over processes than is provided
by present kernels.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690)
UUCP:	seismo!mimsy!chris	ARPA/CSNet:	chris at mimsy.umd.edu



More information about the Comp.unix.wizards mailing list