This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Run-time error 486
- From: Lars Wedde Lind <larsli at yahoo dot com>
- To: gdb at sources dot redhat dot com
- Date: Tue, 24 Aug 2004 06:34:25 -0700 (PDT)
- Subject: 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