Error recovery (long)
Mike Wexler
mike at peregrine.UUCP
Sun Jun 1 12:28:34 AEST 1986
Heres how I do it.
> % mumble foo bar
> Segmentation violation - core dumped.
% dbx mumble
Reading symbolic information..
Read 98 Symbols
(dbx) where
foo(b = 7), line 15 in "mumble.c"
main(argc = 1, argv = 16776148, 0xfffbdc), line 5 in "mumble.c"
(dbx) list 15
15 a=*q;
(dbx) print q
q = (nil)
(dbx) quit
The advantage of this is that dbx will give me all the information I want
and not the information that I don't want.
--
Mike Wexler
Email address:(trwrb|scgvaxd)!felix!peregrine!mike
Tel Co. address: (714)855-3923
;-) Internet address: ucivax at ucbvax.BERKELY.EDU!ucivax%felix!mike at peregrine :-(
More information about the Comp.lang.c
mailing list