CDT-Add global variables - Shows empty list [message #218352] |
Wed, 02 July 2008 05:45 |
Eclipse User |
|
|
|
Originally posted by: chandram_online.yahoo.co.in
Hi every body,
I use eclipse ganymede version which recently released (windows xp), with
MinGw 5.1.3 tool chain and internal cdt builder.I use gdb-6.6 as debugger.
In the variables view window local varialbes are shown. when I try to "add
global variables", I get empty list.I want to add global variables in
variables view instead of adding as expression to view the value. Binary
parser is set to "PE Windows parser".If I expand the executable in
the modules view I saw the globals.
This is the sample program in which I want to view the value of 'rad' in
variable window. (The same thing I faced with Europa version (cdt 4.0)).
Kindly help to solve this problem.What am I doing wrong?
With regards
ack
------------------------------------------------------
#include <stdio.h>
#include <stdlib.h>
double rad = 0.017;
int main(int argc, char **argv)
{
puts("!!! Hello world!!!");
return EXIT_SUCCESS;
}
|
|
|
Powered by
FUDForum. Page generated in 0.04728 seconds