Problems while debugging fortran

Joel Brobecker brobecker@adacore.com
Thu Sep 20 20:56:00 GMT 2007


> No, just "break <linenumber>". However, I tried your command and it
> worked. Why? Shouldn't the behavior be the same in both cases?

It should be the same if the "current file" is set to test.f.
It looks like it isn't. For some reason, GDB thinks that the current
file is something else. Again, perhaps a copy of your GDB session
might give a clue.

-- 
Joel



More information about the Gdb mailing list