Inspecting standard container (std::map) contents with gdb Supposing to have something like this: #include int main(){ std::map m; m[1] = 2; m[2] = 4; return 0; } I would like to be able to inspect the contents of the map running the program from gdb. If I try using the subscript operator I get: (gdb) p m[1] Attempt to take address of value not located in memory. Using the find method does not y..