unable to view symbols in gdb



Hi,
I am debugging a fortran code. I have set a breakpoint just after a
line

CPU_2=0

I am getting the message

(gdb) print *CPU_2
No symbol "CPU_2" in current context.

it's the same for other symbols deined before this.

OTHER INFO
compiler: g95 Options: -g -ggdb -ftrace=full
OS: Mac OS X
front-end: ddd
importrant libraries: MPI
I am able to view the source code

thanks in advance

.



Relevant Pages

  • Re: Great SWT Program
    ... More a shell than an operating system, ... Gdb is for the birds. ... Well, debugging one's own code is what gdb is for, isn't it? ... Being able to make a breakpoint that would trip the first time any ...
    (comp.lang.java.programmer)
  • GDB 6.1.1 released! (fwd)
    ... Version 6.1.1 of GDB, the GNU Debugger, is now available via anonymous ... * Pending breakpoint support ... Support has been added to allow you to specify breakpoints in shared ... Pending breakpoints are very useful for GCJ Java debugging. ...
    (comp.os.linux.announce)
  • Fun with gdb and threads...
    ... This might be of interest to anyone who has tried debugging ... multi-threaded programs with gdb. ... After handling the breakpoint, gdb then needs to reset the instruction ...
    (freebsd-current)
  • debugging fortran code with gdb
    ... I am debugging a fortran code in gdb. ... Can anyone tell me how to create a temprary variable inside gdb. ... thnaks in advance ...
    (comp.lang.fortran)
  • Re: Process for requesting reverting patch?
    ... > current32# which gdb ... right now, but wasn't it Fortran code, instead of C? ... web search. ...
    (freebsd-current)