I want to use gdb to do that.. In gdb we can load release version of executable's symbol file using symbol-file <symbol file path>. when we do that, the debug information is gets attached in the debugging session and we can see all debug information like line numbers, functions names as we see with a debug binary.
When I saw man page of AIXs's strip command i see some statements like.. "Once you use this command, symbolic debugging of the file is difficult; therefore, you should normally use the strip command only on production modules that you have debugged and tested." By this what i understood is strip doesn't allow the stripped symbols cannot be stored in another file. same man page also says below stuff. "You can restore a stripped symbol table to an archive or library file by using the ar -s command." I little bit confused by above two statements.. Can anyone clarify what the second statement does really mean by "you can restore a stripped symbol table to an archive or ..." Also, I saw the binutils patch at http://ftp.gnu.org/gnu/binutils/binutils-2.20-2.20.1-patch.gz. I tried to build the binutils after installing the patch but when i was building the binutils after installing above patch i am seeing compilation errors. -- View this message in context: http://old.nabble.com/Unable-to-use-objcopy-on-AIX-tp30247664p30255255.html Sent from the Gnu - Binutils - Bugs mailing list archive at Nabble.com. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils