I'm using GCC 3.4.6, it creates Hunk binaries without running through any utilities. I think I'm building with -gstabs already (hangover from OS4), and don't have a clue about debugging under 68k.
The best GUI debugger for the Amiga 68k is BDebug in the Barfly package.
http://aminet.net/dev/asm/BarflyDisk2_00.lhaThe docs say that it supports STABS as well as the SAS/C (SAS D1) debug info. It might be worth a try to open a source window. BDebug can catch an exception from a crash and allow you to debug from the crash location.
At the moment I just want to know why creating bitmap.image objects is failing. I suspect there's something broken in the NDK includes I'm using.
First, make sure you are using the 3.9 NDK as Novacoder suggests. Next, you might try these fixed NDK 3.9 includes:
http://www.heywheel.com/matthey/Amiga/fixed-includes-ndk39.lhaThey are from the dead AWeb web site. AWeb uses ClassACT/Reaction also and these were probably fixed by Andy Broad (broadblues).
There is a list of some Reaction bugs in the following text:
http://www.heywheel.com/matthey/Amiga/ami-code.txtI didn't see anything related to bitmap.image though. Let me know if you find a bug and I may be able to patch it.
Edit: I read the bitmap_ic_relnotes from the NDK 3.9 and it sounds like the old bitmap.image was problematic:
bitmap.image 45.1 (03.02.2001)
· complete rewrite, as H&P don't have the sources of
the original class. this one supports transparent
blits to interleaved screens. The corrupted nav.-
buttons of AWeb are gone, now.
My version with AmigaOS 3.9 is bitmap.image 45.1 (03/03/01).