Path: utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!bloom-beacon!primerd!zaphod!doug From: doug@zaphod.prime.com Newsgroups: gnu.gdb.bug Subject: Class var refs Message-ID: <134400002@zaphod> Date: 12 Jul 89 19:00:00 GMT Lines: 23 Nf-ID: #N:zaphod:134400002:000:627 Nf-From: zaphod.prime.com!doug Jul 12 15:00:00 1989 in gdb references to a class variable (member) cause it to crash. At least this happened with the following class: class symbol { char* name; symbol* next; // hash table static symbol* table[RADIX]; // public methods public: symbol(char* n) { name = n; next = 0;}; friend int lookup(char*); }; I referenced symbol::table[0] and boom. Otherwise I'm very pleased with the combination of g++ and gdb. --------- Douglas Rand Internet: doug@primerd.prime.com Snail: Prime Computer, 500 Old Conn Path, MS10C-17, Framingham, Ma 01701 Disclaimer: PRIME doesn't believe a word I say, and fewer that I write.