This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Convert ELF with stabs to A.OUT
- From: "Smets, Jan (Jan)" <jan dot smets at alcatel-lucent dot com>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Fri, 3 Feb 2012 17:38:27 +0100
- Subject: 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