willox / auxtools

Rust library for low-level interfacing with BYOND's virtual machine. Includes a remote debugger for the BYOND DreamMaker language.
MIT License
28 stars 32 forks source link

Add debug server assembly code for i686-pc-windows-gnu #10

Closed SpaceManiac closed 3 years ago

SpaceManiac commented 3 years ago
willox commented 3 years ago

Did you get exceptions working with mingw? I haven't looked into it yet but we could replace the use of C++ exceptions with some platform specific code if necessary

willox commented 3 years ago

I've managed to get it working by replacing our try/catch usage with setjmp/longjmp. It's not a good approach but it seems like it'll be enough for unsupported MinGW builds to work.

I'll push it to this PR later after adding conditional compilation to it.

willox commented 3 years ago

LMK if that works out (or just revert it if you didn't need it)

SpaceManiac commented 3 years ago

It works