SDB broken on SCO UNIX 3.2 ?

Dave Smythe dsmythe at netcom.COM
Sun May 12 08:39:19 AEST 1991


Regarding bugs in CodeView and SDB, There is a bug in cvtomf (run automatically
by cc, not rcc) that corrupts symbol tables.  It's been reported.  You'll see:
"No symbolic information" when cv or sdb comes up.  To reproduce it, try:

main()
{
  int x = -1;

  { { int a; } }
  { { int b; } }
  { { int c; } }
}

If you switch multiscreens while CodeView is loading (actually, while it is 
running cvtcoff to convert your COFF file to OMF for cv) cvtcoff will die,
and you'll get no symbolic information.  Just be patient :-)

If you are trying to use Codeview (perhaps sdb too?) on executables that
exist on NFS mounted directories, then it will occasionally refuse to
allow you to set breakpoints (I/O error (6?)).  I've even seen it accept
a breakpoint and not stop there!  *Sometimes* you can set a breakpoint
after you have started execution (g main; set bp; g).

Hope I can save somebody some grief...

D



More information about the Comp.lang.c mailing list