Mail Archives: djgpp/2003/04/14/02:15:17
Hi Andris,
Thanks for your help. I'm now using the gcc322s.zip package, so I don't have
to use the unpack scripts. It seems to compile just fine now..
I noticed the following bit in gcc/config/i386/djgpp.h.diff:
+/* I'm not sure whether the follwing is correct.
+ Setting DBX_REGISTER_NUMBER only as below breaks C++ exceptions
+ when -gdwarf-2 is being used. Maybe setting DWARF_FRAME_REGNUM
+ could help. I don't know (AP, 2002/02/01) */
+#undef DBX_REGISTER_NUMBER
+#define DBX_REGISTER_NUMBER(n) \
+ ((write_symbols == DWARF2_DEBUG) ? svr4_dbx_register_map[n] :
dbx_register_ma
p[n])
+
+#undef DWARF_FRAME_REGNUM
+#define DWARF_FRAME_REGNUM(n) dbx_register_map[n]
Is there still some issue with exceptions? Couldn't find anything on this in
the mail archives..
Cheers!
Rob
- Raw text -