This is most likely an issue with
gdb/other, but an indirect issue within Emacs nonetheless.
Whilst debugging, I would like for Emacs to step into the standard library implementation of the
overloaded << operator function called from object std::cout.
As is shown in the series of screenshots when the current source file (in the source file window) switches from
funct.cpp when function
funct() is called:
The command I used to compile the files:
g++ -g -std=c++11 main.cpp funct.cpp
If someone could guide me through step-by-step of how they got this to work, that would be a great example to learn from; or if any more information is needed (whether it be the system I'm using, file-paths, etc.), please ask away.