This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Problems creating a Win32 DLL with debug information
- To: <binutils at sourceware dot cygnus dot com>
- Subject: Problems creating a Win32 DLL with debug information
- From: "Florian Bruckner" <h9651030 at miraculix dot wu-wien dot ac dot at>
- Date: Sun, 16 Jul 2000 02:14:48 +0200
- Disposition-Notification-To: "Florian Bruckner" <h9651030@miraculix.wu-wien.ac.at>
- Reply-To: <h9651030 at miraculix dot wu-wien dot ac dot at>
I am tying to create a Win32 DLL with debug information. Unfortunately all
Win32 debuggers (including GDB) no dot recognize the debug information.
I compile the object files with a statement like:
gcc -Wall -mno-cygwin -gcoff -I. -I./include -DBUILDING_DLL -D_DEBUG -c -o
oggcodec.o oggcodec.c
The DLL is generated with this statement:
dllwrap --target=i386-mingw32 -mno-cygwin --mno-cygwin --add-stdcall-alias -
gcoff --export-all-symbols -Wl,--enable-stdcall-fixup, --def oggcodec.def -o
oggcodec.acm oggcodec.o acmdump.o debug.o handleacm.o handlegen.o oggres.o
rint.o fixup.o -lwinmm -lmsvcrt -L./lib -lvorbis
When I try to get the debug information from the DLL with objdump --debug
this is returned:
with the latest binutils snapshot:
0 [main] objdump 1110 handle_exceptions: Exception:
STATUS_ACCESS_VIOLATION
67781 [main] objdump 1110 stackdump: Dumping stack trace to
objdump.exe.stackdump
with cygnus distributed binutils 2.10 I get something like (I cannot
reproduce this at the moment):
unexpected and of file
The platform is i586-pc-cygwin. Any idea?
br,
Florian