Re: Skipping warning messages in gdb
Re: Skipping warning messages in gdb
- Subject: Re: Skipping warning messages in gdb
- From: Jim Ingham <email@hidden>
- Date: Mon, 4 May 2009 12:26:59 -0700
You have a binary that you've built for debugging but then deleted
the .o files, so now there's no debugging information available.
That's the warning you are seeing.
You can delete the records that map from the binary to the .o files
with the "strip -S" command.
Note that once you delete the .o files, you won't have symbolic
information for that binary any more. If you want to preserver the
debug information, build a dSYM file (using dsymutil) before deleting
the .o files.
If this is a binary you've gotten from somebody else, then just run
"strip -S" on it. This only removes the .o map, which you can't use
anymore, so you aren't getting rid of anything important. And in
general, if you are handing out debug versions of libraries, it's best
to build a dSYM, then "strip -S" the library. Once it has the dSYM,
the debugger no longer needs the .o file map and it will only cause
this noise for your clients...
Jim
On May 1, 2009, at 1:34 PM, Emile Tobenfeld (a. k. a Dr. T) wrote:
Hi,
This there a way to prevent messages like
AfterEffectsFilterLib7.build/Imported CodeWarrior Settings/AE
Unshared Final Symbols.build/Objects-normal/i386/BorisAssert.o" more
recent than executable timestamp
and
warning: Could not find object file "/Metaloaf/pro/obj/mac/obj/
MediaCore/ASLFoundation.Release.build/Objects-normal/i386/
MacCursor.o" - no debug information available for "/Metaloaf/pro/ext/
adobe/MediaCore/ASL/Foundation/Make/Mac/../../Src/Mac/MacCursor.cpp".
from showing up in my debugging console? Thanks.
--
"The test of a first-rate intelligence is the ability to hold two
opposed ideas in the mind at the same time, and still retain the
ability to function."
F. Scott Fitzgerald
Visit "Before the Fall -- Images of the World Trade Center" at http://www.foryourhead.com
Emile Tobenfeld, Ph. D.
Video Producer Image Processing Specialist
Video for your HEAD! Boris FX
http://www.foryourhead.com http://www.borisfx.com
http://www.youtube.com/Tobenfeld
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden