[Mono-dev] Heads up: Debugger changes

Jonathan S. Chambers Jonathan.Chambers at ansys.com
Sat Jan 21 12:23:17 EST 2006


I'm trying to compile svn HEAD r55886, and am getting the following. Not sure if it's related to the debugger patch or not.

In file included from debug-debugger.c:7:
/usr/local/include/mono/private/libgc-mono-debugger.h:18:2: error: #error "This header is only intended to be used by the Mono Debugger"
debug-debugger.c:45: warning: initialization from incompatible pointer type
debug-debugger.c:284: error: syntax error before 'debugger_thread_vtable'
debug-debugger.c:284: warning: type defaults to 'int' in declaration of 'debugger_thread_vtable'
debug-debugger.c:285: warning: initialization makes integer from pointer without a cast
debug-debugger.c:287: warning: excess elements in scalar initializer
debug-debugger.c:287: warning: (near initialization for 'debugger_thread_vtable')
debug-debugger.c:288: warning: excess elements in scalar initializer
debug-debugger.c:288: warning: (near initialization for 'debugger_thread_vtable')
debug-debugger.c:290: warning: excess elements in scalar initializer
debug-debugger.c:290: warning: (near initialization for 'debugger_thread_vtable')
debug-debugger.c:290: warning: data definition has no type or storage class
debug-debugger.c: In function 'debugger_thread_manager_init':
debug-debugger.c:298: error: 'gc_thread_vtable' undeclared (first use in this function)
debug-debugger.c:298: error: (Each undeclared identifier is reported only once
debug-debugger.c:298: error: for each function it appears in.)
make[4]: *** [debug-debugger.lo] Error 1
make[4]: Leaving directory `/home/jonathan/mono/mono/mini'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/jonathan/mono/mono/mini'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jonathan/mono/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jonathan/mono'
make: *** [all] Error 2

- Jonathan


-----Original Message-----
From:	mono-devel-list-bounces at lists.ximian.com on behalf of Martin Baulig
Sent:	Sat 1/21/2006 11:05 AM
To:	mono-devel-list at ximian.com; Ximian Mono List
Cc:	
Subject:	[Mono-dev] Heads up: Debugger changes
Hi guys,

The Mono Debugger now requires a recent SVN version of Mono from either
HEAD or the 1-1-13 branch - r55884 or newer is ok.

As of today, the debugger is using the normal `mono' to execute managed
code rather than using its own `mono-debugger-mini-wrapper'; that
wrapper is now finally dead.

This has two very big advantages:

a) Packaging:

   Since we don't need to find the "correct" wrapper any longer, it's a
   lot easier to package and relocate the debugger.

b) Debugging a different Mono:

   Probably the biggest advantage is that you can now use the debugger
   to debug a different Mono than the one you're using to run the
   debugger.

   You can, for instance, use the Mono from the stable 1-1-13 branch to
   run the debugger to debug an application running the Mono from HEAD:

   mdb -run -mono /path/to/your/unstable/mono Foo.exe

Martin


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list






More information about the Mono-devel-list mailing list