* Enable debug info
@ 2014-01-29 9:48 Umesh Kalappa
2014-01-29 9:50 ` Andrew Haley
2014-01-30 5:41 ` Iyer, Balaji V
0 siblings, 2 replies; 3+ messages in thread
From: Umesh Kalappa @ 2014-01-29 9:48 UTC (permalink / raw)
To: gcc
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.
Appreciate your comments and Thank you
~Umesh
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Enable debug info
2014-01-29 9:48 Enable debug info Umesh Kalappa
@ 2014-01-29 9:50 ` Andrew Haley
2014-01-30 5:41 ` Iyer, Balaji V
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Haley @ 2014-01-29 9:50 UTC (permalink / raw)
To: Umesh Kalappa, gcc
On 01/29/2014 09:36 AM, Umesh Kalappa wrote:
> 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.
It usually does.
Andrew.
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Enable debug info
2014-01-29 9:48 Enable debug info Umesh Kalappa
2014-01-29 9:50 ` Andrew Haley
@ 2014-01-30 5:41 ` Iyer, Balaji V
1 sibling, 0 replies; 3+ messages in thread
From: Iyer, Balaji V @ 2014-01-30 5:41 UTC (permalink / raw)
To: Umesh Kalappa, gcc
> -----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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-01-30 3:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-29 9:48 Enable debug info Umesh Kalappa
2014-01-29 9:50 ` Andrew Haley
2014-01-30 5:41 ` Iyer, Balaji V
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).