[patch] Add new -gmlt option for min. debug info with line tables (issue4440072)

Cary Coutant ccoutant@google.com
Fri May 6 17:57:00 GMT 2011


Ping.

http://gcc.gnu.org/ml/gcc-patches/2011-04/msg02075.html
http://gcc.gnu.org/ml/gcc-patches/2011-04/msg02155.html

Should I prepare a patch that does this at -g1, and makes "-g1 -g" the
same as "-g2"?

-cary


On Tue, May 3, 2011 at 1:24 PM, Jason Merrill <jason@redhat.com> wrote:
> On 04/26/2011 06:57 PM, Cary Coutant wrote:
>>
>> I considered just changing -g1 to do this, with the argument that
>> "enough for making backtraces" ought to include line numbers and
>> inlined function calls, but I wasn't familiar enough with existing
>> uses of -g1 to go with that alternative. I'm certainly willing to go
>> that route, though, if that's preferable.
>
> That makes sense to me; it seems appropriate for -g1 to have information
> that makes a backtrace more informative, but not information for interactive
> debugging.  Jim, do you have an opinion?
>
> Jason
>



More information about the Gcc-patches mailing list