Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 10-14-2010, 03:52 AM   #1
LQ Newbie
Registered: Feb 2010
Posts: 8

Rep: Reputation: -1
Unhappy Shall we get the wrong debug info with -Oxx core file?

hello guys,
I write a program, i compile it with -g -O2 -s as a release version, then compile another with -g -O2 as a debug version, when i get the core file from release one, then i debug it with the debug version, but i can not get the right crash pot, i wandered the -O2 will inspect the the simbol lines, right?
i need your help, please.
Old 10-14-2010, 03:55 AM   #2
Senior Member
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,145
Blog Entries: 4

Rep: Reputation: 147Reputation: 147

What you have written we can understand.Please give clear title and explain your problem properly.

Post errors here and tell us what you did so you got that error.

Please mention Linux Distribution you are using gcc version you are using!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
gdb: missing the seperate debug info file vikhr Linux - Software 1 05-16-2008 01:08 AM
firefox 1.5.7 outputs debug info nanjil SUSE / openSUSE 2 10-05-2006 05:49 AM
Debug info by inet1 during boot BroX Slackware 4 09-24-2006 10:59 AM
Redirecting debug info to another file subu_s Programming 1 12-07-2004 01:15 PM
redirect debug info raven Linux - General 1 11-20-2002 08:16 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration