I can step along with gdb, but I have to give the \"list\" command every time I want to see where I am in source code.
(gdb) next 351 int right = get_va
Use gdb TUI mode http://sourceware.org/gdb/onlinedocs/gdb/TUI-Overview.html#TUI-Overview You can enter or leave the TUI mode with C-x A key binding.