help with gdb bug evaluating enumerated types

2001-04-04 Thread Vuong Tran
) n 27 printf("Hello World\n"); (gdb) print tmp $1 = MY_ENUM_4 (gdb) print tmp2 $2 = error type (gdb) Regards Vuong Tran Mgr, SW Development Andiamo Systems, Inc. #include stdio.h #define MY_VALID_BASE 0xff00 #define MY_BASE 0x8000 typedef enum _MyValidEnums {

Error in evaluating enumerated types

2001-03-21 Thread Vuong Tran
happens when the enumeration of MyTypes has a somewhat complex expression within it. With simple expressions, everything works just fine. You can easily reproduce this scenario by examining entries of MyTypeXlateTbl[] using gdb. Please help Thanks in advance Vuong Tran Mgr, SW Development Andiamo