"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "mono/utils/mono-merp.c" between
mono-6.8.0.105.tar.xz and mono-6.8.0.123.tar.xz

About:

mono-merp.c  (mono-6.8.0.105.tar.xz):mono-merp.c  (mono-6.8.0.123.tar.xz)
skipping to change at line 147 skipping to change at line 147
MERP_EXC_FORCE_QUIT = 1, MERP_EXC_FORCE_QUIT = 1,
MERP_EXC_SIGSEGV = 2, MERP_EXC_SIGSEGV = 2,
MERP_EXC_SIGABRT = 3, MERP_EXC_SIGABRT = 3,
MERP_EXC_SIGSYS = 4, MERP_EXC_SIGSYS = 4,
MERP_EXC_SIGILL = 5, MERP_EXC_SIGILL = 5,
MERP_EXC_SIGBUS = 6, MERP_EXC_SIGBUS = 6,
MERP_EXC_SIGFPE = 7 , MERP_EXC_SIGFPE = 7 ,
MERP_EXC_SIGTRAP = 8, MERP_EXC_SIGTRAP = 8,
MERP_EXC_SIGKILL = 9, MERP_EXC_SIGKILL = 9,
MERP_EXC_HANG = 10 MERP_EXC_HANG = 10,
MERP_EXC_MANAGED_EXCEPTION = 11
} MERPExcType; } MERPExcType;
typedef struct { typedef struct {
const char *merpFilePath; const char *merpFilePath;
const char *crashLogPath; const char *crashLogPath;
const char *werXmlPath; const char *werXmlPath;
const char *bundleIDArg; // App Bundle ID (required for bucketization) const char *bundleIDArg; // App Bundle ID (required for bucketization)
const char *versionArg; // App Version (required for bucketization) const char *versionArg; // App Version (required for bucketization)
skipping to change at line 263 skipping to change at line 264
case MERP_EXC_SIGBUS: case MERP_EXC_SIGBUS:
return "0x60000000"; return "0x60000000";
case MERP_EXC_SIGFPE: case MERP_EXC_SIGFPE:
return "0x70000000"; return "0x70000000";
case MERP_EXC_SIGTRAP: case MERP_EXC_SIGTRAP:
return "0x03000000"; return "0x03000000";
case MERP_EXC_SIGKILL: case MERP_EXC_SIGKILL:
return "0x04000000"; return "0x04000000";
case MERP_EXC_HANG: case MERP_EXC_HANG:
return "0x02000000"; return "0x02000000";
case MERP_EXC_MANAGED_EXCEPTION:
return "0x05000000";
case MERP_EXC_NONE: case MERP_EXC_NONE:
// Exception type documented as optional, not optional // Exception type documented as optional, not optional
g_assert_not_reached (); g_assert_not_reached ();
default: default:
g_assert_not_reached (); g_assert_not_reached ();
} }
} }
static MERPExcType static MERPExcType
parse_exception_type (const char *signal) parse_exception_type (const char *signal)
skipping to change at line 291 skipping to change at line 294
return MERP_EXC_SIGILL; return MERP_EXC_SIGILL;
if (!strcmp (signal, "SIGABRT")) if (!strcmp (signal, "SIGABRT"))
return MERP_EXC_SIGABRT; return MERP_EXC_SIGABRT;
// Force quit == hang? // Force quit == hang?
// We need a default for this // We need a default for this
if (!strcmp (signal, "SIGTERM")) if (!strcmp (signal, "SIGTERM"))
return MERP_EXC_HANG; return MERP_EXC_HANG;
if (!strcmp (signal, "MANAGED_EXCEPTION"))
return MERP_EXC_MANAGED_EXCEPTION;
// FIXME: There are no other such signal // FIXME: There are no other such signal
// strings passed to mono_handle_native_crash at the // strings passed to mono_handle_native_crash at the
// time of writing this // time of writing this
g_error ("Merp doesn't know how to handle %s\n", signal); g_error ("Merp doesn't know how to handle %s\n", signal);
} }
static int merp_file_permissions = S_IWUSR | S_IRUSR | S_IRGRP | S_IROTH; static int merp_file_permissions = S_IWUSR | S_IRUSR | S_IRGRP | S_IROTH;
static gboolean static gboolean
mono_merp_write_params (MERPStruct *merp) mono_merp_write_params (MERPStruct *merp)
 End of changes. 3 change blocks. 
1 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)