I have a std::map< std::string, std::string> cont;
I want to see cont[ "some_key" ] in gdb. When I'm trying
p cont[ "some_ket" ]
I'm getting this message: One of the arguments you tried to pass to operator could not be converted to what the function wants.
I'm using GNU gdb Red Hat Linux (126.96.36.199-1.162.el4rh). Thanks
Use OpenBSD's malloc, realloc and free in my program
Strange results while measuring delta time on Linux
Java OutOfMemoryError due to Linux RAM disk cache not freed
However you'd have to learn the API and write the script.
Spring ResourceServlet throws too many open files exception in jetty and tomcat under linux
Luckily gcc 4.5 will ship with the needed python scripts to get gdb to intelligently handle stl data structures..
compile with -ansi -pedantic -Wall switches automatically with gcc
EDIT: you don't have to wait for GCC 4.5 (which by the way has already been released), you can just grab the code from SVN..
bluetooth application devlopment
C++ man pages in Ubuntu
how to make PHP lists all Linux Users?
see this thread: http://firstname.lastname@example.org/msg02109.html. I'm curious about the GDB helper macros..
(gdb) call dump(m)