Hello community,
here is the log from the commit of package mono-debugger
checked in at Sat Sep 6 00:37:25 CEST 2008.
--------
--- arch/i386/mono-debugger/mono-debugger.changes 2008-09-01 13:58:26.000000000 +0200
+++ mono-debugger/mono-debugger.changes 2008-09-02 23:47:01.000000000 +0200
@@ -1,0 +2,5 @@
+Tue Sep 2 10:26:11 MDT 2008 - ajorgensen@novell.com
+
+- Update to 2.0-RC1
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mono-debugger.spec ++++++
--- /var/tmp/diff_new_pack.vS9178/_old 2008-09-06 00:36:16.000000000 +0200
+++ /var/tmp/diff_new_pack.vS9178/_new 2008-09-06 00:36:16.000000000 +0200
@@ -24,7 +24,7 @@
Summary: Mono Debugger
Url: http://www.mono-project.com/Debugger
Version: 2.0
-Release: 2
+Release: 4
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
Patch: mono-debugger-cflags.patch
@@ -90,7 +90,10 @@
%build
%{?env_options}
%{?configure_options}
+CFLAGS="$RPM_OPT_FLAGS"
+%if %{suse_version} >= 1100
CFLAGS="$RPM_OPT_FLAGS `ncurses5-config --cflags`"
+%endif
%configure
make
@@ -115,6 +118,8 @@
%define __find_requires env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-requires && printf "%s\\n" "${filelist[@]}" | /usr/bin/mono-find-requires ; } | sort | uniq'
%changelog
+* Tue Sep 02 2008 ajorgensen@novell.com
+- Update to 2.0-RC1
* Mon Sep 01 2008 ro@suse.de
- respect CFLAGS setting (for RPM_OPT_FLAGS)
(patch present but disabled, too many errors)
@@ -125,7 +130,7 @@
* Many bugfixes
* Tue May 06 2008 aj@suse.de
- Use to fix build.
-* Tue Jan 15 2008 wberrier@novell.com
+* Mon Jan 14 2008 wberrier@novell.com
- Update to 0.60
-Updated to run with mono 1.2.6 runtime
-Various bux fixes
@@ -145,11 +150,11 @@
- add %%debug_package so debug packages get created
* Wed Apr 11 2007 wberrier@novell.com
- Add mono dep/req for older distros
-* Thu Apr 05 2007 wberrier@novell.com
+* Wed Apr 04 2007 wberrier@novell.com
- Adapt for buildservice
* Wed Dec 06 2006 dmueller@suse.de
- don't build as root
-* Wed Nov 15 2006 wberrier@suse.de
+* Tue Nov 14 2006 wberrier@suse.de
- Update to 0.31
- (contains a gpl friendly libedit)
- Remove old patches
@@ -187,12 +192,12 @@
and more reliable.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
-* Thu Dec 22 2005 wberrier@suse.de
+* Wed Dec 21 2005 wberrier@suse.de
- Clean up spec, update to 0.11, add NULL patch for libedit, only
build on x86 and x86_64
* Mon Aug 29 2005 aj@suse.de
- Add check-build.sh.
-* Tue Aug 02 2005 ro@suse.de
+* Mon Aug 01 2005 ro@suse.de
- make it build ...
-* Wed Jul 20 2005 wberrier@suse.de
+* Tue Jul 19 2005 wberrier@suse.de
- Initial submission
++++++ mono-debugger-2.0.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/mono-debugger-2.0/backend/SingleSteppingEngine.cs new/mono-debugger-2.0/backend/SingleSteppingEngine.cs
--- old/mono-debugger-2.0/backend/SingleSteppingEngine.cs 2008-08-12 18:19:47.000000000 +0200
+++ new/mono-debugger-2.0/backend/SingleSteppingEngine.cs 2008-09-02 17:38:14.000000000 +0200
@@ -2654,8 +2654,9 @@
out TargetEventArgs args)
{
Report.Debug (DebugFlags.SSE,
- "{0} executed instruction {1} at {2}: {3}",
- sse, Instruction, inferior.CurrentFrame, cevent);
+ "{0} executed instruction at {1}: {2}\n{3}",
+ sse, inferior.CurrentFrame, cevent,
+ TargetBinaryReader.HexDump (Instruction));
args = null;
if (pushed_code_buffer) {
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/mono-debugger-2.0/backend/ThreadManager.cs new/mono-debugger-2.0/backend/ThreadManager.cs
--- old/mono-debugger-2.0/backend/ThreadManager.cs 2008-08-12 18:19:47.000000000 +0200
+++ new/mono-debugger-2.0/backend/ThreadManager.cs 2008-09-02 17:38:14.000000000 +0200
@@ -330,7 +330,8 @@
check_pending_events ();
- engine_event.Set ();
+ if (command == null)
+ engine_event.Set ();
RequestWait ();
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/mono-debugger-2.0/ChangeLog new/mono-debugger-2.0/ChangeLog
--- old/mono-debugger-2.0/ChangeLog 2008-08-12 18:19:50.000000000 +0200
+++ new/mono-debugger-2.0/ChangeLog 2008-09-02 17:38:14.000000000 +0200
@@ -1,3 +1,27 @@
+2008-08-19 Martin Baulig
+
+ * backend/ThreadManager.cs: Fixed a hard to find race condition.
+
+2008-08-14 Martin Baulig
+
+ * symbolwriter/MdbSymbolReader.cs: Add `-verbose' command line
+ argument and improve the scope variables check.
+
+2008-08-13 Martin Baulig
+
+ * test/testsuite/TestAttach.cs
+ (TestAttach.TearDown): Call `child.WaitForExit()' here since
+ TestAttach.Kill() may not be run if the test is disabled.
+
+ * test/testsuite/testnativeattach.cs
+ (testnativeattach.TearDown): Call `child.WaitForExit()' here since
+ testnativeattach.Kill() may not be run if the test is disabled.
+
+2008-08-11 Martin Baulig
+
+ * test/testsuite/testnativefork.cs: Override debugger config; this
+ test needs "broken-threading = false", "stay-in-thread = true".
+
2008-08-05 Martin Baulig
Released version 2.0 "Cologne" of the Mono Debugger :-)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/mono-debugger-2.0/symbolwriter/MdbSymbolReader.cs new/mono-debugger-2.0/symbolwriter/MdbSymbolReader.cs
--- old/mono-debugger-2.0/symbolwriter/MdbSymbolReader.cs 2008-08-12 18:19:47.000000000 +0200
+++ new/mono-debugger-2.0/symbolwriter/MdbSymbolReader.cs 2008-09-02 17:38:14.000000000 +0200
@@ -11,7 +11,7 @@
public readonly Cecil.AssemblyDefinition Assembly;
public readonly MonoSymbolFile File;
- public bool Verbose {
+ public static bool Verbose {
get; set;
}
@@ -299,25 +299,37 @@
ScopeVariable[] scope_vars = method.GetScopeVariables () ?? new ScopeVariable [0];
foreach (ScopeVariable var in scope_vars) {
Debug (" {0} scope var: {1}", method, var);
+ if ((mdef.IsStatic) && (var.Index < 0))
+ throw new MonoSymbolFileException (
+ "Method {0} has invalid scope variable {1} (referencing `this' in static method).",
+ name, var);
if ((var.Index >= 0) && (var.Index >= num_locals))
- throw new MonoSymbolFileException ("Method {0} has invalid scope variable {1}.",
- name, var);
+ throw new MonoSymbolFileException (
+ "Method {0} has invalid scope variable {1} (index out of bounds: {2} / {3}).",
+ name, var, var.Index, num_locals);
if ((var.Scope > 0) && (File.GetAnonymousScope (var.Scope) == null))
- throw new MonoSymbolFileException ("Method {0} has invalid scope variable {1}.",
- name, var);
+ throw new MonoSymbolFileException (
+ "Method {0} has invalid scope variable {1} (can't find scope {2}).",
+ name, var, var.Scope);
}
}
static int Main (string[] args)
{
if (args.Length < 1) {
- Console.WriteLine ("USAGE: mdb-symbolwriter filename...filename");
+ Console.WriteLine ("USAGE: mdb-symbolwriter [-verbose] filename...filename");
return 1;
}
+ int i = 0;
+ if ((args [0] == "-verbose") || (args [0] == "--verbose")) {
+ Verbose = true;
+ i++;
+ }
+
bool fail = false;
- foreach (string filename in args) {
- int ret = Check (filename);
+ for (; i < args.Length; i++) {
+ int ret = Check (args [i]);
if (ret < 0)
fail = true;
}
@@ -338,7 +350,6 @@
}
MdbSymbolReader reader = new MdbSymbolReader (asm, file);
- reader.Verbose = false;
try {
reader.Read ();
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/mono-debugger-2.0/test/testsuite/NUnit.cs new/mono-debugger-2.0/test/testsuite/NUnit.cs
--- old/mono-debugger-2.0/test/testsuite/NUnit.cs 2008-08-12 18:19:36.000000000 +0200
+++ new/mono-debugger-2.0/test/testsuite/NUnit.cs 2008-09-02 17:38:14.000000000 +0200
@@ -301,6 +301,10 @@
get { return interpreter; }
}
+ public DebuggerConfiguration Config {
+ get { return config; }
+ }
+
public static string SourceDirectory {
get {
string srcdir = Path.Combine (BuildInfo.srcdir, "../test/src/");
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/mono-debugger-2.0/test/testsuite/TestAppDomain.cs new/mono-debugger-2.0/test/testsuite/TestAppDomain.cs
--- old/mono-debugger-2.0/test/testsuite/TestAppDomain.cs 2008-08-12 18:19:36.000000000 +0200
+++ new/mono-debugger-2.0/test/testsuite/TestAppDomain.cs 2008-09-02 17:38:14.000000000 +0200
@@ -12,7 +12,10 @@
{
public TestAppDomain ()
: base ("TestAppDomain")
- { }
+ {
+ Config.BrokenThreading = false;
+ Config.StayInThread = true;
+ }
int bpt_hello;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/mono-debugger-2.0/test/testsuite/TestAppDomain-Module.cs new/mono-debugger-2.0/test/testsuite/TestAppDomain-Module.cs
--- old/mono-debugger-2.0/test/testsuite/TestAppDomain-Module.cs 2008-08-12 18:19:36.000000000 +0200
+++ new/mono-debugger-2.0/test/testsuite/TestAppDomain-Module.cs 2008-09-02 17:38:14.000000000 +0200
@@ -12,7 +12,10 @@
{
public TestAppDomainModule ()
: base ("TestAppDomain-Module")
- { }
+ {
+ Config.BrokenThreading = false;
+ Config.StayInThread = true;
+ }
const int LineHelloWorld = 7;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/mono-debugger-2.0/test/testsuite/TestAttach.cs new/mono-debugger-2.0/test/testsuite/TestAttach.cs
--- old/mono-debugger-2.0/test/testsuite/TestAttach.cs 2008-08-12 18:19:36.000000000 +0200
+++ new/mono-debugger-2.0/test/testsuite/TestAttach.cs 2008-09-02 17:38:14.000000000 +0200
@@ -40,6 +40,7 @@
if (!child.HasExited)
child.Kill ();
+ child.WaitForExit ();
}
[Test]
@@ -109,7 +110,6 @@
process.Kill ();
AssertTargetExited (process);
- child.WaitForExit ();
}
}
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/mono-debugger-2.0/test/testsuite/TestMultiThread.cs new/mono-debugger-2.0/test/testsuite/TestMultiThread.cs
--- old/mono-debugger-2.0/test/testsuite/TestMultiThread.cs 2008-08-12 18:19:36.000000000 +0200
+++ new/mono-debugger-2.0/test/testsuite/TestMultiThread.cs 2008-09-02 17:38:14.000000000 +0200
@@ -12,7 +12,9 @@
{
public TestMultiThread ()
: base ("TestMultiThread")
- { }
+ {
+ Config.BrokenThreading = true;
+ }
const int LineMain = 51;
const int LineLoop = 32;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/mono-debugger-2.0/test/testsuite/testnativeattach.cs new/mono-debugger-2.0/test/testsuite/testnativeattach.cs
--- old/mono-debugger-2.0/test/testsuite/testnativeattach.cs 2008-08-12 18:19:36.000000000 +0200
+++ new/mono-debugger-2.0/test/testsuite/testnativeattach.cs 2008-09-02 17:38:14.000000000 +0200
@@ -39,6 +39,7 @@
if (!child.HasExited)
child.Kill ();
+ child.WaitForExit ();
}
[Test]
@@ -99,8 +100,6 @@
process.Kill ();
AssertTargetExited (process);
-
- child.WaitForExit ();
}
}
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/mono-debugger-2.0/test/testsuite/testnativefork.cs new/mono-debugger-2.0/test/testsuite/testnativefork.cs
--- old/mono-debugger-2.0/test/testsuite/testnativefork.cs 2008-08-12 18:19:36.000000000 +0200
+++ new/mono-debugger-2.0/test/testsuite/testnativefork.cs 2008-09-02 17:38:14.000000000 +0200
@@ -12,7 +12,10 @@
{
public testnativefork ()
: base ("testnativefork", "testnativefork.c")
- { }
+ {
+ Config.BrokenThreading = false;
+ Config.StayInThread = true;
+ }
const int LineMain = 12;
const int LineWaitpid = 16;
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org