On 1/18/06, Hardy Smith <[EMAIL PROTECTED]> wrote: > I have to write a symbol reader for some > gcc-generated, embedded programms. They are for a > relatifly "unknown" mipsX cpu. The binaries seem to be > in a.out format. > Where can I find infos how the debug-symbols are > organuzed? Is this plattform-depended or gvv-version > dependend?
If your executables really are in a.out format, then the debugging information is probably in STABS format. The GNU manual for STABS is included in the GDB distribution, as gdb/doc/stabs.texinfo. On Fedora Core, at least, the info manual is installed with the GDB package. Just to make sure you know: the compiler always creates executables named 'a.out', regardless of the object file format being used. I think most MIPS targets use ELF or COFF, which is why I bring this up. You should use 'objdump -f' to make sure you're really dealing with an a.out format executable.