[comp.sys.sun] Debugging Fortran??

cgunn@csis.dit.csiro.au (Chris Gunn) (11/16/90)

I have been unsuccessful in trying to run dbx on a Fortran program.  I
have compiled and linked with the -g option but still the dbx debugger
comes up with the message "Warning: main routine not compiled with -g
option"

Can anybody help??

Some clues:

1. If I run a C program that calls a Fortran routine, all goes well with
   the debugger happily going into both sources.

2. Does the fact that the error message uses the word "main" mean that it
   expects C source.