09-11-2007 02:32 AM
09-11-2007 02:42 AM
09-11-2007 01:28 PM - edited 09-24-2011 06:18 PM
See my answer to your question in your other thread:
>The code doesn't have debug information so gdb also did not work.
If you are on IPF, you can usually get this info, even if -g isn't used. Unless the executable is stripped.
>Clay: As a general rule, no. That's the kind of information that compiling with -g does provide.
This info is available with commands mentioned in the link above.
Compiler option summary is available with footprints(1).
>nm also only works when the compilation is done by using -g option.
-g has nothing to do with nm(1), it doesn't look at debug info.
09-12-2007 07:43 PM
09-13-2007 07:00 AM
Sure it does. You just have to glue the base name to the CWD on the next line.
>the elfdump -dc option does not work
Sure it does. ;-)
elfdump works on ELF files (IPF and PA64). odump works on SOM files, PA32.