This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems while debugging fortran


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]