[Mono-dev] [Fwd: [Mono-patches] r59306 - in trunk/mono/mono: metadata mini]
Atsushi Eno
atsushi at ximian.com
Wed Apr 12 04:27:47 EDT 2006
Hi,
This change seems to have caused a build breakage on Windows.
gcc -mno-cygwin -g -g -O2 -fno-strict-aliasing
-Wdeclaration-after-statement -g
-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wno-cast-qual -Wcast-align
-Wwrite-strings -mno-tls-direct-seg-refs -o pedump.exe pedump.o
./.libs/libmonoruntime.a ../io-layer/.libs/libwapi.a
../utils/.libs/libmonoutils.a ../../libgc/.libs/libmonogc.a
-L/opt/gnome-2.13/lib -lgthread-2.0 -lgmodule-2.0 -lglib-2.0
-lintl -liconv -lws2_32 -lpsapi -lole32
./.libs/libmonoruntime.a(threads.o): In function
`mono_debugger_init_threads':
/home/atsushi/svn/mono/mono/metadata/threads.c:2902: undefined reference
to `_gc_thread_vtable'
collect2: ld returned 1 exit status
make[3]: *** [pedump.exe] Error 1
make[3]: Leaving directory `/home/atsushi/svn/mono/mono/metadata'
make[2]: *** [all-recursive] Error 1
Atsushi Eno
-------- Original Message --------
Subject: [Mono-patches] r59306 - in trunk/mono/mono: metadata mini
Date: Mon, 10 Apr 2006 13:55:17 -0400 (EDT)
From: Martin Baulig <mono-patches-list at lists.ximian.com>
To: mono-patches at lists.ximian.com, ximian.monolist at gmail.com,
mono-patches-list at googlegroups.com
Author: martin
Date: 2006-04-10 13:55:16 -0400 (Mon, 10 Apr 2006)
New Revision: 59306
Modified:
trunk/mono/mono/metadata/ChangeLog
trunk/mono/mono/metadata/mono-debug-debugger.h
trunk/mono/mono/metadata/mono-debug.h
trunk/mono/mono/metadata/object-internals.h
trunk/mono/mono/metadata/threads.c
trunk/mono/mono/metadata/threads.h
trunk/mono/mono/mini/ChangeLog
trunk/mono/mono/mini/debug-debugger.c
Log:
2006-04-10 Martin Baulig <martin at ximian.com>
Clean up the debugger's thread-handling code.
The debugger's thread-handling code has been moved from
../mini/debug-debugger.c to threads.c. We now iterate directly
over the `threads' hash, keep track of exiting threads and also
use proper locking.
We can now debug XSP and XSP based applications with the debugger.
* object-internals.h (MonoThread): Added `gpointer end_stack'.
* threads.h
(MonoThreadCallbacks): Removed; this was only used by the debugger.
(mono_install_thread_callbacks): Likewise.
* threads.c (mono_thread_callbacks): Removed.
(debugger_thread_created, debugger_thread_exited): New static functions.
(start_wrapper): Call debugger_thread_created().
(thread_cleanup): Call debugger_thread_exited().
(mono_gc_stop_world, mono_gc_start_world): Removed; this was never used.
(mono_debugger_init_threads): New public function.
(debugger_thread_vtable): Moved here from debug-debugger.c; we now
iterate directly over the `threads' hash and also use proper locking.
* mono-debug.h (MONO_DEBUGGER_VERSION): Bumped to 55.
* mono-debug-debugger.h
(MonoDebuggerEvent): Added MONO_DEBUGGER_EVENT_THREAD_EXITED.
More information about the Mono-devel-list
mailing list