When attaching to the following program you cannot print out i or j. Removing the volatile attribute makes them visable. #include <stdio.h> static volatile int i; static volatile int j; int main (int argc, char *argv) { i = 0; printf("hello world\n"); while(1) { i++; j = i; j -= 1; } }
* cni/DwarfDie.cxx (get_base_type): Indirect for DW_TAG_volatile_type. * TestFhd.java (testHpd): print enum; what array; what class; volatile
*** Bug 4229 has been marked as a duplicate of this bug. ***