[Haifux] Multi-thread debugging for C++ on Linux

Shachar Shemesh shachar at shemesh.biz
Sat Nov 29 18:49:22 MSK 2008

Ohad Lutzky wrote:
> I thought tracking source code was gdb's job... (Hitting l? And does
> anyone know, off the top of their heads, how to get it to show the
> current line number and file?)
Actually, it's the compiler's job. The compiler embeds inside the 
executable the information needed to cross the current assembly line 
being executed with the source file and line number it came from. All 
the debugger does (on any platform I know) is display that data.


More information about the Haifux mailing list