) 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 {
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