The error is as follows:
C:/Documents and Settings/xedmcase/My Documents/penslabexp.f:1: Error
in sourced command file:
Undefined command:
"CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC".
Try "help".
while executing
"gdb_cmd "source $file_name""
(procedure "source_file" line 4)
invoked from within
"source_file"
(menu invoke)errorCode is NONE
This is the first line of the code and as you guys know C is just a
comment. Does anyone know how I can get gbm to recognize that this
file is fortran, and not be confused by the Cs?
Thanks
The 'source' command tells gdb to read gdb commands from a file.
It is unrelated to source code debugging. (This is named for
a feature of unix shells to read commands from a file.)
I don't know about source level debugging with gdb and g77.
It might be that it was added later.
-- glen
If you built everything with -g option set, the source view should come up
automatically when you step into one of your subroutines, and it should
automatically recognize the Fortran code. However, g77 has been off
support long enough that it will take a lot of luck on recent Windows.
versions. Current Fortran compilers support all f77 plus nearly all
extensions which could be used sanely in g77.