> Well what happens when:
> 
> - you compile a package with stabs
> - your program with dwarf
> 
> Or vice/versa.
> 
> What will be in the final exe?
> 

Both

> Is the debug info in the ppu already format specific, or 
> generic. Will the stabs end up together with the dwarf?
> 

Stabs go to the .stabs and .stabstr sections, dwarf to .debug_info,
.debug_line, debug_xxx sections, the linker only relocates the addresses for
the symbols. Don't know if the compiler supports it but you could have the 2
formats in an object file. And if you like complexity, on windows you can
even add coff debugging info to the exe as well.

Ludo

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to