Bugzilla – Bug 311470
FreeBSD style registers are the same in other BSDs
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by jmmv@hispabsd.org 2002-09-09 10:20:34 MST ---- Please fill in this template when reporting a bug, unless you know what you are doing. Description of Problem: The file mono/jit/exception.c access several register names directly, like 'eax'. In NetBSD, those need to be accessed like in FreeBSD, using 'sc_eax' and similar names. Not doing so results in a compilation failure. Currently, the file uses an #ifdef check to determine if we are in FreeBSD or not. This check can be easily extended to also allow __NetBSD__ and __OpenBSD__, which effectively fixes the problem Steps to reproduce the problem: 1. Get a NetBSD (or OpenBSD, should be just the same) system and try to compile exception.c Actual Results: Failure to compile exception.c. Expected Results: How often does this happen? Additional Information: ---- Additional Comments From jmmv@hispabsd.org 2002-09-09 10:21:12 MST ---- Created an attachment (id=164341) Patch for exception.c ---- Additional Comments From dietmar@ximian.com 2002-09-12 06:58:04 MST ---- patch is in CVS Imported an attachment (id=164341) Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>NetBSD 1.6H (current)</cf_op_sys_details> Unknown operating system other. Setting to default OS "Other".