bitwiseworks / libc

LIBC Next (kLIBC fork)
9 stars 4 forks source link

Improve EXCEPTQ trap report generation, part 2 #99

Open dmik opened 3 years ago

dmik commented 3 years ago

A continuation of #98.

There are further improvements but they need changes in EXCEPTQ, this ticket is to track them:

dmik commented 3 years ago

@StevenLevine BTW if you think 3 is not so easy for you, you could just support an arbitrary .TRP file name via ExceptionInfo too. So that a MYHANDLER caller could specify a full file name they want the report end up into. I personally don't think it's the best option as it will be better if all .TRP will go there, including apps using EXCEPTQ directly. But I'm ready to discuss this.

dmik commented 3 years ago

The above two commits provide a workaround that moves .TRP files to a system log location (see #101), until @StevenLevine fixes EXCEPTQ. Works good so far.