Genode fixes (#8501)
* Genode fixes - wrap strings in "Genode::Cstring" when logging - define SIGABRT for Genode - disable GCC -fstack-protector - use log RPC for fatal messages - add --os:genode build to appveyor - define paramStr and paramCount * Select fixups for Genode POSIX
This commit is contained in:
parent
87b2d2aad6
commit
2da0341b4d
9 changed files with 42 additions and 18 deletions
|
|
@ -31,7 +31,11 @@ proc showErrorMessage(data: cstring) {.gcsafe.} =
|
|||
if errorMessageWriter != nil:
|
||||
errorMessageWriter($data)
|
||||
else:
|
||||
writeToStdErr(data)
|
||||
when defined(genode):
|
||||
# stderr not available by default, use the LOG session
|
||||
echo data
|
||||
else:
|
||||
writeToStdErr(data)
|
||||
|
||||
proc quitOrDebug() {.inline.} =
|
||||
when not defined(endb):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue