Re: [Patch Darwin] be more friendly to gdb

2011-11-18 Thread Mike Stump
On Nov 17, 2011, at 8:24 AM, Iain Sandoe wrote: > As things stand, Darwin's 'as' cannot produce dwarf debug. > OK for trunk? Ok.

[Patch Darwin] be more friendly to gdb

2011-11-17 Thread Iain Sandoe
As things stand, Darwin's 'as' cannot produce dwarf debug. Unfortunately, if "-g" is given to -x assembler-with-cpp ... this results in 'as' being called with --stabs. So, it can be the case that an exe ends up with some stabs debug in it - usually with a source file of "{standard input}"