display source in gdb


gdb:

# display source code window in gdb
Ctrl+x a
# display source code in gdb default mode
list

gdb is the most popular debugger on Linux. I use it all the time and really can’t live without it.

, , ,

  1. Leave a comment

Leave a comment