Hi there!
I've got a stl vector of custom class objects defined in a global namespace (yeah, evil, I know). Now I would like to set a watchpoint in gdb to monitor possible changes in a (public) member variable for a certain element of this vector. Something like:
watch custom_namespace::vec[123].aVariable
If I do this, then gdb (Version 7.1 on Ubuntu Lucid) segfaults. Are there alternative ways. Is this possible at all?