You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
@@ -1,12 +0,0 @@
|
||||
2010-06-15 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* *: Add testing infrastructure by moving the tests from mono/tests.
|
||||
|
||||
2009-11-03 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* Makefile: Don't define LIBRARY_PACKAGE so it gets installed normally.
|
||||
|
||||
2009-11-02 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* New directory containing the managed interface to the soft-mode debugger.
|
||||
|
||||
@@ -5,9 +5,10 @@ LIBRARY = Mono.Debugger.Soft.dll
|
||||
LIBRARY_SNK = ../mono.snk
|
||||
|
||||
LIB_REFS = System Mono.Cecil System.Core
|
||||
LIB_MCS_FLAGS = /r:$(corlib) /unsafe -D:MONO_DATACONVERTER_STATIC_METHODS -keyfile:$(LIBRARY_SNK)
|
||||
LIB_MCS_FLAGS = /unsafe -D:MONO_DATACONVERTER_STATIC_METHODS -keyfile:$(LIBRARY_SNK) /publicsign
|
||||
|
||||
TEST_MCS_FLAGS = /r:Mono.Cecil.dll /r:System.dll /r:System.Core.dll
|
||||
TEST_MCS_FLAGS =
|
||||
TEST_LIB_REFS = Mono.Cecil System System.Core
|
||||
|
||||
VALID_TEST_PROFILE := $(filter net_4_x, $(PROFILE))
|
||||
|
||||
@@ -17,7 +18,7 @@ ifdef VALID_TEST_PROFILE
|
||||
test-local: dtest-app.exe dtest-excfilter.exe
|
||||
|
||||
dtest-app.exe: Test/dtest-app.cs
|
||||
$(CSCOMPILE) -out:$@ -unsafe -debug -optimize- Test/dtest-app.cs
|
||||
$(CSCOMPILE) -r:$(topdir)/class/lib/$(PROFILE)/System.Core.dll -r:$(topdir)/class/lib/$(PROFILE)/System.dll -out:$@ -unsafe $(PLATFORM_DEBUG_FLAGS) -optimize- Test/dtest-app.cs
|
||||
|
||||
dtest-excfilter.exe: Test/dtest-excfilter.il
|
||||
MONO_PATH=$(topdir)/class/lib/$(PROFILE) $(INTERNAL_ILASM) -out:$@ /exe /debug Test/dtest-excfilter.il
|
||||
@@ -29,7 +30,7 @@ check:
|
||||
|
||||
endif
|
||||
|
||||
CLEAN_FILES = dtest-app.exe dtest-app.exe.mdb dtest-excfilter.exe dtest-excfilter.exe.mdb
|
||||
CLEAN_FILES = dtest-app.exe dtest-app.exe.mdb dtest-app.pdb dtest-excfilter.exe dtest-excfilter.exe.mdb dtest-excfilter.pdb
|
||||
|
||||
EXTRA_DISTFILES = \
|
||||
Test/dtest-app.cs \
|
||||
|
||||
@@ -1,210 +0,0 @@
|
||||
2010-06-17 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* VirtualMachine.cs Connection.cs: Group events received together into an EventSet,
|
||||
like it is done in JDI. Add a GetNextEventSet () method.
|
||||
|
||||
2010-06-04 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* StackFrame.cs (GetVisibleVariables): New method to return the set of variables
|
||||
visible at the current stack frame.
|
||||
|
||||
2010-05-24 Martin Baulig <martin@ximian.com>
|
||||
|
||||
* Connection.cs (VersionInfo): Make this public.
|
||||
|
||||
* VirtualMachine.cs (Version): New public property.
|
||||
|
||||
2010-05-07 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* VirtualMachine.cs (ErrorHandler): Convert ABSENT_INFORMATION to
|
||||
AbsentInformationException.
|
||||
|
||||
* AbsentInformationException.cs: New file.
|
||||
|
||||
2010-04-30 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* TypeMirror.cs: Add new overload for GetSourceFiles () which returns full paths.
|
||||
|
||||
2010-04-27 Lluis Sanchez <lluis@novell.com>
|
||||
|
||||
* ITargetProcess.cs:
|
||||
* VirtualMachine.cs:
|
||||
* VirtualMachineManager.cs:
|
||||
Restored old API. Renamed IProcess to ITargetProcess everywhere
|
||||
to avoid naming conflicts.
|
||||
|
||||
2010-04-26 Lluis Sanchez <lluis@novell.com>
|
||||
|
||||
* IProcess.cs:
|
||||
* VirtualMachine.cs:
|
||||
* VirtualMachineManager.cs:
|
||||
Added new IProcess interface which wraps the debugged process.
|
||||
This abstraction makes it easier to support debugging processes
|
||||
for which we don't have a direct Process reference (for example,
|
||||
if the process is remote).
|
||||
|
||||
2010-04-10 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* ThreadMirror.cs: Add a ThreadId property.
|
||||
|
||||
2010-03-05 Martin Baulig <martin@ximian.com>
|
||||
|
||||
Add support for aborting invocations.
|
||||
|
||||
* IInvokeAsyncResult.cs: New file.
|
||||
(IInvokeAsyncResult): New public interface; derives from
|
||||
`IAsyncResult' and contains an Abort() method.
|
||||
|
||||
* Connection.cs
|
||||
(Connection.VM_BeginInvokeMethod): Return the `id'.
|
||||
(Connection.VM_AbortInvoke): New method.
|
||||
|
||||
* ObjectMirror.cs
|
||||
(ObjectMirror.AbortInvoke): New internal static method.
|
||||
|
||||
2010-03-01 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* VirtualMachine.cs: Allow working with runtimes implementing a different
|
||||
minor version of the debugger protocol.
|
||||
|
||||
2010-03-01 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* Connection.cs: Send the protocol version used by the client to the debuggee
|
||||
after the handshake.
|
||||
|
||||
2010-03-01 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* Location.cs: Implement ToString ().
|
||||
|
||||
* AppDomainMirror.cs (CreateBoxedValue): New method to create a boxed value from
|
||||
a primitive value or struct.
|
||||
|
||||
2010-02-26 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* Connection.cs: Throw a NotSupportedException if the protocol version doesn't
|
||||
support the caught/uncaught flags in an exception modifier.
|
||||
|
||||
2010-02-20 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* VirtualMachine.cs (CreateExceptionRequest): Add an overload taking two
|
||||
booleans which specify whenever to report caught/uncaught exceptions.
|
||||
|
||||
* ExceptionRequest.cs: Add public properties for them.
|
||||
|
||||
* Connections.cs: Pass the caught/uncaught flags to the debuggee. Bump protocol
|
||||
minor version.
|
||||
|
||||
2010-02-11 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* AssemblyMirror.cs: Add missing GetType () overloads.
|
||||
|
||||
2010-02-04 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* TypeMirror.cs (EnumUnderlyingType): New property.
|
||||
|
||||
* EnumMirror.cs: Use it.
|
||||
|
||||
* VirtualMachine.cs (CreateEnumMirror): New method to create an EnumMirror.
|
||||
|
||||
* AppDomainMirror.cs (GetCorrespondingType): New method to return a TypeMirror
|
||||
corresponding to a primitive type.
|
||||
|
||||
* TypeMirror.cs (IsEnum): Implement.
|
||||
|
||||
* EnumMirror.cs (.ctor): New internal constructor called from CreateEnumMirror
|
||||
which does lots of error checking.
|
||||
|
||||
2010-01-28 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* AssemblyUnloadEvent: New file.
|
||||
|
||||
* VirtualMachine.cs Connection.cs: Add support for assembly unload events.
|
||||
|
||||
2009-12-05 Lluis Sanchez <lluis@novell.com>
|
||||
|
||||
* StructMirror.cs: Fix field indexer for structs with static fields.
|
||||
* VirtualMachineManager.cs: Added an option to LaunchOptions which
|
||||
allows providing a custom method for launching the process. This
|
||||
allows launching mono in a wrapper process.
|
||||
|
||||
2009-12-03 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* StructMirror.cs (this): Ignore static fields.
|
||||
|
||||
2009-12-02 Geoff Norton <gnorton@novell.com>
|
||||
|
||||
* VirtualMachineManager.cs: We might get a SocketException (interrupted)
|
||||
here, so lets just handle all Exceptions to our Accept pattern the same
|
||||
way
|
||||
|
||||
2009-12-01 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* VirtualMachine.cs (ErrorHandler): Handle NOT_SUSPENDED error code too.
|
||||
|
||||
2009-11-24 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* ObjectMirror.cs TypeMirror.cs StructMirror.cs: Make the BeginInvokeMethod
|
||||
which takes a 'vm' argument obsolete, it was added by mistake, add a version
|
||||
without that argument instead.
|
||||
|
||||
2009-11-19 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* AssemblyMirror.cs: Add a GetName () method.
|
||||
|
||||
2009-11-17 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* Connection.cs ObjectMirror.cs: Implement invokes in a real asynchronous way,
|
||||
without waiting.
|
||||
|
||||
2009-11-14 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* InvokeOptions.cs: Add SingleThreaded option, not yet works.
|
||||
|
||||
* VirtualMachineManager.cs (Launch): Pass options to BeginLaunch.
|
||||
|
||||
* ObjectMirror.cs TypeMirror.cs StructMirror.cs: Implement an async version of
|
||||
InvokeMethod ().
|
||||
|
||||
2009-11-13 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* InvokeOptions.cs: New file.
|
||||
|
||||
* ObjectMirror.cs TypeMirror.cs StructMirror.cs: Add support for passing flags
|
||||
to InvokeMethod ().
|
||||
|
||||
* Connection.cs: Bump protocol version.
|
||||
|
||||
2009-11-12 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* VirtualMachineManager.cs: Put back the old Launch (string[], LaunchOptions)
|
||||
overload.
|
||||
|
||||
2009-11-11 Geoff Norton <gnorton@novell.com>
|
||||
|
||||
* VirtualMachineManager.cs: Refactor the APIs to have async methods.
|
||||
Remove a bunch of Listen overloads that are pointless. Refactor
|
||||
Launch to take a ProcessStartInfo instead of string arguments.
|
||||
|
||||
2009-11-10 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* VirtualMachineManager.cs (Launch): Close the listening socket instead of
|
||||
shutting it down since Shutdown throws on exception on non-connected sockets
|
||||
in ms.net.
|
||||
|
||||
2009-11-05 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* VirtualMachineManager.cs (Listen): Resurrect the old listen method.
|
||||
|
||||
* VirtualMachineManager.cs (Connect): New method to connect to a runtime
|
||||
listening at the provided address.
|
||||
|
||||
2009-11-04 Lluis Sanchez <lluis@novell.com>
|
||||
|
||||
* VirtualMachineManager.cs: Properly redirect standard output.
|
||||
|
||||
2009-11-03 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* EventRequest.cs (AssemblyFilter): New property to filter
|
||||
events based on a list of assemblies.
|
||||
|
||||
* Connection.cs: Add assembly filters to the protocol implementation.
|
||||
@@ -1,9 +0,0 @@
|
||||
2010-06-17 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* dtest.cs: Add an EventSet test.
|
||||
|
||||
2010-06-15 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* dtest.cs dtest-app.cs: New files containing the soft debugger tests, moved here
|
||||
from mono/tests.
|
||||
|
||||
@@ -419,6 +419,9 @@ public class Tests : TestsBase, ITest2
|
||||
ss_step_through ();
|
||||
ss_non_user_code ();
|
||||
ss_recursive (1);
|
||||
ss_recursive2 (1);
|
||||
ss_recursive2 (1);
|
||||
ss_recursive_chaotic ();
|
||||
ss_fp_clobber ();
|
||||
}
|
||||
|
||||
@@ -568,6 +571,92 @@ public class Tests : TestsBase, ITest2
|
||||
ss_recursive (n + 1);
|
||||
}
|
||||
|
||||
// Breakpoint will be placed here
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
public static void ss_recursive2_trap ()
|
||||
{
|
||||
}
|
||||
|
||||
public static void ss_recursive2_at (string s)
|
||||
{
|
||||
// Console.WriteLine (s);
|
||||
}
|
||||
|
||||
// This method is used both for a step over and step out test.
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
public static void ss_recursive2 (int x)
|
||||
{
|
||||
ss_recursive2_at ( "ss_recursive2 in " + x);
|
||||
if (x < 5) {
|
||||
int next = x + 1;
|
||||
ss_recursive2_at ("ss_recursive2 descend " + x);
|
||||
ss_recursive2_trap ();
|
||||
ss_recursive2 (next);
|
||||
}
|
||||
ss_recursive2_at ("ss_recursive2 out " + x);
|
||||
}
|
||||
|
||||
// Breakpoint will be placed here
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
public static void ss_recursive_chaotic_trap ()
|
||||
{
|
||||
}
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
public static void ss_recursive_chaotic_at (bool exiting, string at, int n)
|
||||
{
|
||||
// string indent = "";
|
||||
// for (int count = 5 - n; count > 0; count--)
|
||||
// indent += "\t";
|
||||
// Console.WriteLine (indent + (exiting ? "<--" : "-->") + " " + at + " " + n);
|
||||
}
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
public static void ss_recursive_chaotic_fizz (int n)
|
||||
{
|
||||
ss_recursive_chaotic_at (false, "fizz", n);
|
||||
if (n > 0) {
|
||||
int next = n - 1;
|
||||
ss_recursive_chaotic_buzz (next);
|
||||
ss_recursive_chaotic_fizzbuzz (next);
|
||||
} else {
|
||||
ss_recursive_chaotic_trap ();
|
||||
}
|
||||
ss_recursive_chaotic_at (true, "fizz", n);
|
||||
}
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
public static void ss_recursive_chaotic_buzz (int n)
|
||||
{
|
||||
ss_recursive_chaotic_at (false, "buzz", n);
|
||||
if (n > 0) {
|
||||
int next = n - 1;
|
||||
ss_recursive_chaotic_fizz (next);
|
||||
ss_recursive_chaotic_fizzbuzz (next);
|
||||
}
|
||||
ss_recursive_chaotic_at (true, "buzz", n);
|
||||
}
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
public static void ss_recursive_chaotic_fizzbuzz (int n)
|
||||
{
|
||||
ss_recursive_chaotic_at (false, "fizzbuzz", n);
|
||||
if (n > 0) {
|
||||
int next = n - 1;
|
||||
ss_recursive_chaotic_fizz (next);
|
||||
ss_recursive_chaotic_buzz (next);
|
||||
ss_recursive_chaotic_fizzbuzz (next);
|
||||
}
|
||||
ss_recursive_chaotic_at (true, "fizzbuzz", n);
|
||||
}
|
||||
|
||||
// Call a complex tree of recursive calls that has tripped up "step out" in the past.
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
public static void ss_recursive_chaotic ()
|
||||
{
|
||||
ss_recursive_chaotic_fizz (5);
|
||||
}
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
public static void ss_fp_clobber () {
|
||||
double v = ss_fp_clobber_1 (5.0);
|
||||
@@ -1200,6 +1289,8 @@ public class Tests : TestsBase, ITest2
|
||||
CrossDomain o = (CrossDomain)domain.CreateInstanceAndUnwrap (
|
||||
typeof (CrossDomain).Assembly.FullName, "CrossDomain");
|
||||
|
||||
domains_print_across (o);
|
||||
|
||||
domains_2 (o, new CrossDomain ());
|
||||
|
||||
o.invoke_2 ();
|
||||
@@ -1223,6 +1314,10 @@ public class Tests : TestsBase, ITest2
|
||||
public static void domains_2 (object o, object o2) {
|
||||
}
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
public static void domains_print_across (object o) {
|
||||
}
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||
public static void domains_3 () {
|
||||
}
|
||||
@@ -1454,8 +1549,13 @@ class TypeLoadClass {
|
||||
class TypeLoadClass2 {
|
||||
}
|
||||
|
||||
public class SentinelClass : MarshalByRefObject {
|
||||
}
|
||||
|
||||
public class CrossDomain : MarshalByRefObject
|
||||
{
|
||||
SentinelClass printMe = new SentinelClass ();
|
||||
|
||||
public void invoke () {
|
||||
Tests.invoke_in_domain ();
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
ff7b3616df855d53c0acc30c6f22b5e68b5e112c
|
||||
c0af12cb38ac15d9f023d11cfffa62408e2fb559
|
||||
Reference in New Issue
Block a user