LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 10-14-2010, 04:52 AM   #1
liunxlq
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, 04:55 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Hi,

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!
 
  


Reply


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 02:08 AM
firefox 1.5.7 outputs debug info nanjil Suse/Novell 2 10-05-2006 06:49 AM
Debug info by inet1 during boot BroX Slackware 4 09-24-2006 11:59 AM
Redirecting debug info to another file subu_s Programming 1 12-07-2004 02:15 PM
redirect debug info raven Linux - General 1 11-20-2002 09:16 AM


All times are GMT -5. The time now is 02:14 AM.

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