Author: martin
Date: 2007-12-10 06:05:42 -0500 (Mon, 10 Dec 2007)
New Revision: 91038
Modified:
trunk/debugger/ChangeLog
trunk/debugger/classes/DebuggerOptions.cs
Log:
2007-12-10 Martin Baulig <[EMAIL PROTECTED]>
* classes/DebuggerOptions.cs: Added new `-start' command line
argument to stop in Main(); made `-run' run the target without
stopping. This makes the command line arguments consistent with
the `start' and `run' commands.
Modified: trunk/debugger/ChangeLog
===================================================================
--- trunk/debugger/ChangeLog 2007-12-10 10:32:59 UTC (rev 91037)
+++ trunk/debugger/ChangeLog 2007-12-10 11:05:42 UTC (rev 91038)
@@ -1,5 +1,12 @@
2007-12-10 Martin Baulig <[EMAIL PROTECTED]>
+ * classes/DebuggerOptions.cs: Added new `-start' command line
+ argument to stop in Main(); made `-run' run the target without
+ stopping. This makes the command line arguments consistent with
+ the `start' and `run' commands.
+
+2007-12-10 Martin Baulig <[EMAIL PROTECTED]>
+
Applied a patch from Harald Krapfenbauer <[EMAIL PROTECTED]>:
* backend/server/i386-arch.c
Modified: trunk/debugger/classes/DebuggerOptions.cs
===================================================================
--- trunk/debugger/classes/DebuggerOptions.cs 2007-12-10 10:32:59 UTC (rev
91037)
+++ trunk/debugger/classes/DebuggerOptions.cs 2007-12-10 11:05:42 UTC (rev
91038)
@@ -295,6 +295,7 @@
" -mono:PATH Override the
inferior mono\n" +
" -mono-prefix:PATH Override the mono
prefix\n" +
" -run Start inferior
without halting in Main()\n" +
+ " -start Start inferior
and stop in Main()\n" +
" -script \n" +
" -usage \n" +
" -version Display version
and licensing information (short -V)\n" +
@@ -511,7 +512,17 @@
Environment.Exit (1);
}
debug_options.StartTarget = true;
+ debug_options.StopInMain = false;
return true;
+
+ case "-start":
+ if (ms_value != null) {
+ Usage ();
+ Environment.Exit (1);
+ }
+ debug_options.StartTarget = true;
+ debug_options.StopInMain = true;
+ return true;
}
return false;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches