[Mono-dev] [PATCH v4 0/7] Port Mono to Haiku/x86, round #4

Andreas Färber andreas.faerber at web.de
Sat Apr 3 13:02:49 EDT 2010


Hello,

In place of the patch fixing siginfo_t uses in the soft debugger I now propose
a patch disabling the whole soft debugger depending on MONO_ARCH_USE_SIGACTION.

Instead of defining makedev for Haiku I'm providing new implementations of
io-layer functions and fix a couple of runtime exceptions while at it.

We noticed two things in the Mac OS X implementation of processes.c:load_modules:
* It looks as if only the data section is used for address_{start,end}. Is that
  correct? v3 considers the text segment as well for Haiku.
* "r--p" is hardcoded into perms, what exactly does that mean? (p? no w?)
  What is the perms field good for? It looks like it's not being read at all.

Regards,
Andreas

Andreas Färber (7):
  configure: Don't hardcode libm dependency
  mini: Disable soft debugger when not using sigaction
  Handle lack of SA_SIGINFO
  io-layer: Fix process helper functions for Haiku
  serial: Stub implementation for Haiku
  eglib: Fix hardcoded library dependencies for Haiku
  configure: Fix linking against eglib

 configure.in                    |   11 ++++--
 eglib/ChangeLog                 |    8 ++++
 eglib/configure.ac              |    2 +
 eglib/src/Makefile.am           |    2 -
 eglib/test/Makefile.am          |    2 +-
 mono/io-layer/ChangeLog         |   14 +++++++-
 mono/io-layer/process-private.h |    4 ++
 mono/io-layer/processes.c       |   71 ++++++++++++++++++++++++++++++++++++--
 mono/metadata/ChangeLog         |    7 ++++
 mono/metadata/console-unix.c    |   67 ++++++++++++++++++++++++++++++-----
 mono/mini/ChangeLog             |   13 +++++++
 mono/mini/mini-posix.c          |   15 +++++++-
 mono/mini/mini-x86.h            |    4 ++
 support/serial.c                |   72 +++++++++++++++++++++++++++++++++++++++
 14 files changed, 270 insertions(+), 22 deletions(-)



More information about the Mono-devel-list mailing list