public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: [patch] Add new -gmlt option for min. debug info with line tables (issue 4440072)
@ 2013-07-28 16:17 mrich30
  2013-07-30  2:52 ` Cary Coutant
  0 siblings, 1 reply; 2+ messages in thread
From: mrich30 @ 2013-07-28 16:17 UTC (permalink / raw)
  To: ccoutant, jason, pinskia, joseph, dnovillo, wilson; +Cc: gcc-patches, reply


> I'm not aware of any significant use of -g1.  It is very rare for
anyone
> to mention it in a bug report for instance.  Once upon a time (before
> 2002-03-19), it was used for compiling libgcc, but that was just to
> ensure that it got tested somewhere.  From my Cisco experience, I
would
> agree that backtraces without line numbers are not very useful.  It
> would be OK with me if these changes were added to -g1 instead of
> creating a new -gmlt option.

> Jim

Is anyone still working on this?

It would be very useful to include this option in gcc trunk, and have
either -g1 or -gmlt emit line number information. This saves
considerable space and time during compilation for large builds where
full debug info is not needed, but line numbers in stack traces are
still helpful (e.g. regression testing opt builds)

If I can help somehow, please let me know how.

Best regards,
Martin

https://codereview.appspot.com/4440072/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch] Add new -gmlt option for min. debug info with line tables (issue 4440072)
  2013-07-28 16:17 [patch] Add new -gmlt option for min. debug info with line tables (issue 4440072) mrich30
@ 2013-07-30  2:52 ` Cary Coutant
  0 siblings, 0 replies; 2+ messages in thread
From: Cary Coutant @ 2013-07-30  2:52 UTC (permalink / raw)
  To: Cary Coutant, Jason Merrill, Andrew Pinski, Joseph S. Myers,
	Diego Novillo, Jim Wilson, mrich30, gcc-patches, reply

> Is anyone still working on this?
>
> It would be very useful to include this option in gcc trunk, and have
> either -g1 or -gmlt emit line number information. This saves
> considerable space and time during compilation for large builds where
> full debug info is not needed, but line numbers in stack traces are
> still helpful (e.g. regression testing opt builds)
>
> If I can help somehow, please let me know how.

I sent a revised patch a few months ago:

   http://gcc.gnu.org/ml/gcc-patches/2013-02/msg00260.html

But got no response at all. I had intended to ping it after Stage 1
reopened, but I didn't get around to it (it's been a low priority).
I'll ping it to get approval for the parts that are outside dwarf2out
proper, and try to get it committed soon. Sorry for the delay.

-cary

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-29 23:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-28 16:17 [patch] Add new -gmlt option for min. debug info with line tables (issue 4440072) mrich30
2013-07-30  2:52 ` Cary Coutant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).