funny variable names in gdb
- From: "jadoo.dost@xxxxxxxxx" <jadoo.dost@xxxxxxxxx>
- Date: 28 Mar 2007 15:05:29 -0700
Hi,
after a bit of tinketing i'm finally able to see my source code but:
variables such as:
CPU_2=0
get funny names as illustrated below:
(gdb) info variable cpu_2
All variables matching regular expression "cpu_2":
File globals.f90:
real8 globals_MP_cpu_2;
real8 globals_MP_cpu_2a;
where does that MP come from ??? & what happened to the case ?
also what do i make out of the following information
(gdb) info variable n_vec
All variables matching regular expression "n_vec":
File globals.f90:
struct array1 globals_MP_n_vec;
real8 globals_MP_n_vec.data[11];
(gdb) print globals_MP_n_vec@2
$3 = {{
offset = 0x2c9138 "?",
rank = 1,
esize = 8,
base = 0x2c9138,
info = {8, 0, 10}
}, {
offset = 0x3ff00000 <Address 0x3ff00000 out of bounds>,
rank = 0,
esize = 1072693248,
base = 0x0,
info = {0, 0, 0}
}}
(gdb)
--- platform info ------------
compiler: g95 Options: -g3 -gstabs -pg -ftrace=full
OS: Mac OS X
front-end: ddd
importrant libraries: MPI
I am able to view the source code in ddd
.
- Follow-Ups:
- Re: funny variable names in gdb
- From: robert . corbett
- Re: funny variable names in gdb
- Prev by Date: Re: calculation accuracy
- Next by Date: Re: calculation accuracy
- Previous by thread: BOZ literal constants, a puzzle for us Standard-loving types.
- Next by thread: Re: funny variable names in gdb
- Index(es):
Relevant Pages
|
|