public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Iyer, Balaji V" <balaji.v.iyer@intel.com>
To: Umesh Kalappa <umesh.kalappa0@gmail.com>,
	"gcc@gcc.gnu.org"	<gcc@gcc.gnu.org>
Subject: RE: Enable debug info
Date: Thu, 30 Jan 2014 05:41:00 -0000	[thread overview]
Message-ID: <BF230D13CA30DD48930C31D4099330003A4CA827@FMSMSX101.amr.corp.intel.com> (raw)
In-Reply-To: <CAGfacvQPcB5hj-VnHpROFN1VMS8pgb3UNF31WEQQP+3XPSkj=A@mail.gmail.com>



> -----Original Message-----
> From: gcc-owner@gcc.gnu.org [mailto:gcc-owner@gcc.gnu.org] On Behalf Of
> Umesh Kalappa
> Sent: Wednesday, January 29, 2014 4:36 AM
> To: gcc@gcc.gnu.org
> Subject: Enable debug info
> 
> Dear All,
> 
> We need to support  the debug info emit for our private port on gcc 4.8.1.
> 
> I was in impression using option -g in the commandline by defualt ,will emit
> the dwarf debugging symbols and the info ,But i was wrong here.
> 
> Anyone in the group point me some references or through some lights on
> how do i enable debug options  in the compiler.

What version of GDB are you using? If you are not using the latest one, the DWARF's version might mismatch. Try to add -g and -gdwarf-2 

> 
> Appreciate your comments and Thank you
> ~Umesh

      parent reply	other threads:[~2014-01-30  3:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-29  9:48 Umesh Kalappa
2014-01-29  9:50 ` Andrew Haley
2014-01-30  5:41 ` Iyer, Balaji V [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BF230D13CA30DD48930C31D4099330003A4CA827@FMSMSX101.amr.corp.intel.com \
    --to=balaji.v.iyer@intel.com \
    --cc=gcc@gcc.gnu.org \
    --cc=umesh.kalappa0@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).