Debugging a Program With dbx

Example 6: new working directory

     % cd /tmp
     % cat y.c
      int main(){ return 0;}
     % cc -c y.c
     % rm -f a.out
# initial link with cwd equal to /tmp% cc -xildon -z i_verbose y.o -o a.out
     % mkdir junk
     % mv y.o y.c a.out junk
     % cd junk
# incremental link, cwd is now /tmp/junk% cc -xildon -z i_verbose y.o -o a.out
     ild: (Performing full relink) current directory has changed from `/tmp' to `/tmp/junk'
      %