|
Prev: cant' print the contents of a character*(*) string in gdb that is passed in a fortran subroutine
Next: how to control process priority from compaq visual fortran
From: glen herrmannsfeldt on 8 Apr 2008 02:48 pggodin(a)gmail.com wrote: > When using gfortran and gdb 6.8 I cant' print a character*(*) string > in gdb that is passed in a fortran subroutine. > Doesn't anybody know a workaround for this. I don't have 6.8, but the version I have prints out arguments when a breakpoint is reached. It seems, though, that in mine it believe the argument is a pointer to int1. printf "%s",arg prints the value up to the next null character. (That is, as a C string.) -- glen |