My program has a nested std::map
object like
map < int, set < void *> *> m;
My program coredown in some situation, and I don't know the reason. I suspect the problem is in the nested map.
I only know using pmap to print simple map objects like std::map<int, int>
,
but don't know how to print more complicated map objects.
If a map is defined as map< int, int > m;
, then
gdb pmap m int int
does work, but if a map is defined as
map< int, set < void * > * > m;
then
gdb pmap m int set < void *> *
does not work