Re: Skipping warning messages in gdb
Re: Skipping warning messages in gdb
- Subject: Re: Skipping warning messages in gdb
- From: Emile Tobenfeld <email@hidden>
- Date: Mon, 4 May 2009 15:48:08 -0400
Thanks Jim
At 12:26 PM -0700 5/4/09, Jim Ingham wrote:
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
This message appears to be telling me that my own code, which I have
to debug, is newer than the host app (in this case After Effects) I'm
testing my plugins in. Since I need symbols for my own code, removing
these symbols would not be useful.
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".
This seems telling me that object files in my host app can't find
their source code.I assume you are suggesting that I run the strip -S
command in terminal on the After Effects App. What would the syntax
be for that? (I confess that I have so far avoided getting an
in-depth knowledge of terminal and the Unix understructure for MacOS.
I was really hoping there was a command I could enter in gdb to make
it less verbose with regards to system errors, without removing my
own printf output.
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
--
"Now, here, you see, it takes all the running you can do, to keep in
the same place. If you want to get somewhere else, you must run at
least twice as fast as that!" -- The Red Queen
Emile Tobenfeld, Ph. D.
Video Producer Image Processing Specialist
Video for your HEAD! Boris FX
http://www.foryourhead.com http://www.borisfx.com
_______________________________________________
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