This is the mail archive of the gdb@sources.redhat.com 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]

Run-time error 486


I am debugging some old Fortran code and have run into
a problem. When I run the program in gdb I get this
error:

Run-time error 486: Array rank mismatch. 2nd dummy
argument is an array but the actual argument is a
scalar.

This is because there is an (for example) integer that
is passed to a routine that takes an array as
argument. It looks like this:

integer a
call routine(a)

subroutine routine(arr)
integer arr(*)

This compiles and runs fine, but not in gdb. Anyone
know any ways around this? I can't change all the
calls to pass an array instead, because this is done
in A LOT of places.



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail


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