cgdb

Debugging with cgdb -- want to debug only my code

Hello all, I am using standard template libraries along with boost. I want to debug code using cgdb. But I just want to debug my code while doing next and step in cgdb, like right now it enters the code in other libraries whereas I want it should just return or step into the code which I have coded and wrote down. Is there any way to m...

gdb log file format

When I use set logging on in gdb, the output to the log file has a different format than what I see on the terminal screen. The logfile is not very readable. How can I get the log file in a readable format? Output to screen is fine: (gdb) p foo $1 = { static npos = 18446744073709551615, _M_dataplus = { <std::allocator<char>> = ...