Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mono/mini/driver.c')
-rw-r--r--mono/mini/driver.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/mono/mini/driver.c b/mono/mini/driver.c
index 472df6f48d3..6a48f075dcf 100644
--- a/mono/mini/driver.c
+++ b/mono/mini/driver.c
@@ -202,9 +202,6 @@ static gboolean
parse_debug_options (const char* p)
{
MonoDebugOptions *opt = mini_get_debug_options ();
-#ifdef ENABLE_NETCORE
- opt->enabled = TRUE;
-#endif
do {
if (!*p) {
@@ -221,11 +218,6 @@ parse_debug_options (const char* p)
} else if (!strncmp (p, "gdb", 3)) {
opt->gdb = TRUE;
p += 3;
-#ifdef ENABLE_NETCORE
- } else if (!strncmp (p, "ignore", 6)) {
- opt->enabled = FALSE;
- p += 6;
-#endif
} else {
fprintf (stderr, "Invalid debug option `%s', use --help-debug for details\n", p);
return FALSE;
@@ -1620,12 +1612,7 @@ mini_usage (void)
"\n"
"Development:\n"
" --aot[=<options>] Compiles the assembly to native code\n"
-#ifdef ENABLE_NETCORE
- " --debug=ignore Disable debugging support (on by default)\n"
- " --debug=[<options>] Disable debugging support or enable debugging extras, use --help-debug for details\n"
-#else
" --debug[=<options>] Enable debugging support, use --help-debug for details\n"
-#endif
" --debugger-agent=options Enable the debugger agent\n"
" --profile[=profiler] Runs in profiling mode with the specified profiler module\n"
" --trace[=EXPR] Enable tracing, use --help-trace for details\n"
@@ -1692,17 +1679,10 @@ mini_debug_usage (void)
{
fprintf (stdout,
"Debugging options:\n"
-#ifdef ENABLE_NETCORE
- " --debug[=OPTIONS] Disable debugging support or enable debugging extras, optional OPTIONS is a comma\n"
-#else
" --debug[=OPTIONS] Enable debugging support, optional OPTIONS is a comma\n"
-#endif
" separated list of options\n"
"\n"
"OPTIONS is composed of:\n"
-#ifdef ENABLE_NETCORE
- " ignore Disable debugging support (on by default).\n"
-#endif
" casts Enable more detailed InvalidCastException messages.\n"
" mdb-optimizations Disable some JIT optimizations which are normally\n"
" disabled when running inside the debugger.\n"
@@ -2010,14 +1990,10 @@ switch_arch (char* argv[], const char* target_arch)
static void
apply_root_domain_configuration_file_bindings (MonoDomain *domain, char *root_domain_configuration_file)
{
-#ifndef ENABLE_NETCORE
g_assert (domain->setup == NULL || domain->setup->configuration_file == NULL);
g_assert (!domain->assembly_bindings_parsed);
mono_domain_parse_assembly_bindings (domain, 0, 0, root_domain_configuration_file);
-#else
- g_assert_not_reached ();
-#endif
}
static void
@@ -2164,9 +2140,6 @@ mono_main (int argc, char* argv[])
opt = mono_parse_default_optimizations (NULL);
-#ifdef ENABLE_NETCORE
- enable_debugging = TRUE;
-#endif
mono_options_parse_options ((const char**)argv + 1, argc - 1, &argc, error);
argc ++;
@@ -2415,13 +2388,6 @@ mono_main (int argc, char* argv[])
enable_debugging = TRUE;
if (!parse_debug_options (argv [i] + 8))
return 1;
-#ifdef ENABLE_NETCORE
- MonoDebugOptions *opt = mini_get_debug_options ();
-
- if (!opt->enabled) {
- enable_debugging = FALSE;
- }
-#endif
} else if (strncmp (argv [i], "--debugger-agent=", 17) == 0) {
MonoDebugOptions *opt = mini_get_debug_options ();