trouble with sdb

set at ihuxe.UUCP set at ihuxe.UUCP
Fri Jul 22 05:59:32 AEST 1983


I am having trouble with sdb on a 4.1bsd VAX. The symptoms are:

(1) The program was compiled with the proper options:

            cc -g -N friend.c

(2) Invoked sdb, printed out a window:

           sdb a.out
           *w
           30: int a;
           31: int yy;
           32: f(a);
           33: printf("Done\n");

(3) Set a breakpoint at the printf:

           *33 b

(4) Tried to run the process and got the error message:

           *r
           a.out
           cannot set breakpoint:
           main:33 @ 144
           cannot set breakpoint:
           main:33 @ 144
           Done
           process terminated

Any ideas as to what may be happening?

Steve Thornton
Bell Labs - Naperville IL
(312) 979-5242
ihuxe!set



More information about the Comp.unix.wizards mailing list