Is there is any way to switch to assembly when debugging a C or C++ program in gdb ? (Given that all source files and their corresponding assembly files are available)
In the new gdb version 7.0, the disassemble command can take a new argument /m which makes it emit mixed source and disassembly.
disassemble
/m