This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Convert ELF with stabs to A.OUT


Hi everyone

I'm wondering if there is a way to convert ELF executables with stabs debugging information to the older a.out format.

I have a objcopy that supports both elf and a.out formats. 

objcopy -I elf32-i386 -O a.out-i386 --debugging in.o out.o

The output I get is:  don't know how to write debugging information for a.out-i386: Success   , no file is written.

write_debugging_info in objcopy.c only works if the target format is elf or coff.

Is there anything else I can try? 

There are a number of reasons why I need a.out with stabs. (crappy debugger) I don't want to discuss that.

Thanks in advance
 
 - Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]