GDB, at least as it was configured by default in my Ubuntu 9.04, cannot handle multi-line statements. When I go through the code, GDB displays only the last line of the current statement, even if this statement spans multiple lines.
I know that I could use DDD or emacs as an interface for GDB, but I would prefer to solve this problem in GDB, if possible.
Does anyone know if there is a way to get GDB to do the right thing here?
source share