Author: miguel
Date: 2006-06-02 10:41:59 -0400 (Fri, 02 Jun 2006)
New Revision: 61407
Modified:
trunk/mono/mono/mini/ChangeLog
trunk/mono/mono/mini/tramp-arm.c
trunk/mono/mono/mini/tramp-ia64.c
trunk/mono/mono/mini/tramp-ppc.c
trunk/mono/mono/mini/tramp-s390.c
trunk/mono/mono/mini/tramp-s390x.c
trunk/mono/mono/mini/tramp-sparc.c
Log:
2006-06-02 Miguel de Icaza <[EMAIL PROTECTED]>
* tramp-sparc.c, tramp-ppc.c, tramp-s390.c, tramp-s390x.c,
tramp-arm.c, tramp-ia64.c
(mono_debugger_create_notification_function): Update signature to
new signature and use new protocol for creating the notification
function.
Should fix the build.
Modified: trunk/mono/mono/mini/ChangeLog
===================================================================
--- trunk/mono/mono/mini/ChangeLog 2006-06-02 14:24:44 UTC (rev 61406)
+++ trunk/mono/mono/mini/ChangeLog 2006-06-02 14:41:59 UTC (rev 61407)
@@ -1,3 +1,13 @@
+2006-06-02 Miguel de Icaza <[EMAIL PROTECTED]>
+
+ * tramp-sparc.c, tramp-ppc.c, tramp-s390.c, tramp-s390x.c,
+ tramp-arm.c, tramp-ia64.c
+ (mono_debugger_create_notification_function): Update signature to
+ new signature and use new protocol for creating the notification
+ function.
+
+ Should fix the build.
+
2006-06-02 Geoff Norton <[EMAIL PROTECTED]>
* exceptions-ppc.c (mono_jit_walk_stack)
Modified: trunk/mono/mono/mini/tramp-arm.c
===================================================================
--- trunk/mono/mono/mini/tramp-arm.c 2006-06-02 14:24:44 UTC (rev 61406)
+++ trunk/mono/mono/mini/tramp-arm.c 2006-06-02 14:41:59 UTC (rev 61407)
@@ -474,14 +474,12 @@
* This method is only called when running in the Mono Debugger.
*/
gpointer
-mono_debugger_create_notification_function (gpointer *notification_address)
+mono_debugger_create_notification_function (MonoCodeManager *codeman)
{
guint8 *ptr, *buf;
- ptr = buf = g_malloc0 (8);
+ ptr = buf = mono_code_manager_reserve (codeman, 8);
//FIXME: ARM_SWI (buf, 0x9F0001);
- if (notification_address)
- *notification_address = buf;
ARM_MOV_REG_REG (buf, ARMREG_PC, ARMREG_LR);
mono_arch_flush_icache (ptr, buf - ptr);
Modified: trunk/mono/mono/mini/tramp-ia64.c
===================================================================
--- trunk/mono/mono/mini/tramp-ia64.c 2006-06-02 14:24:44 UTC (rev 61406)
+++ trunk/mono/mono/mini/tramp-ia64.c 2006-06-02 14:41:59 UTC (rev 61407)
@@ -431,7 +431,7 @@
}
guint8*
-mono_debugger_create_notification_function (void)
+mono_debugger_create_notification_function (MonoCodeManager *codeman)
{
NOT_IMPLEMENTED;
Modified: trunk/mono/mono/mini/tramp-ppc.c
===================================================================
--- trunk/mono/mono/mini/tramp-ppc.c 2006-06-02 14:24:44 UTC (rev 61406)
+++ trunk/mono/mono/mini/tramp-ppc.c 2006-06-02 14:41:59 UTC (rev 61407)
@@ -527,14 +527,12 @@
* This method is only called when running in the Mono Debugger.
*/
gpointer
-mono_debugger_create_notification_function (gpointer *notification_address)
+mono_debugger_create_notification_function (MonoCodeManager *codeman)
{
guint8 *ptr, *buf;
- ptr = buf = g_malloc0 (16);
+ codeman = mono_code_manager_reserve (codeman, 16);
ppc_break (buf);
- if (notification_address)
- *notification_address = buf;
ppc_blr (buf);
mono_arch_flush_icache (ptr, buf - ptr);
Modified: trunk/mono/mono/mini/tramp-s390.c
===================================================================
--- trunk/mono/mono/mini/tramp-s390.c 2006-06-02 14:24:44 UTC (rev 61406)
+++ trunk/mono/mono/mini/tramp-s390.c 2006-06-02 14:41:59 UTC (rev 61407)
@@ -611,11 +611,9 @@
/*------------------------------------------------------------------*/
gpointer
-mono_debugger_create_notification_function (gpointer *notification_address)
+mono_debugger_create_notification_function (MonoCodeManager *codeman)
{
- guint8 *ptr, *buf;
-
- ptr = buf = mono_global_codeman_reserve (16);
+ ptr = buf = mono_code_manager_reserve (codeman, 16);
s390_break (buf);
if (notification_address)
*notification_address = buf;
Modified: trunk/mono/mono/mini/tramp-s390x.c
===================================================================
--- trunk/mono/mono/mini/tramp-s390x.c 2006-06-02 14:24:44 UTC (rev 61406)
+++ trunk/mono/mono/mini/tramp-s390x.c 2006-06-02 14:41:59 UTC (rev 61407)
@@ -633,14 +633,12 @@
/*------------------------------------------------------------------*/
gpointer
-mono_debugger_create_notification_function (gpointer *notification_address)
+mono_debugger_create_notification_function (MonoCodeManager *codeman)
{
guint8 *ptr, *buf;
- ptr = buf = mono_global_codeman_reserve (16);
+ ptr = buf = mono_code_manager_reserve (codeman, 16);
s390_break (buf);
- if (notification_address)
- *notification_address = buf;
s390_br (buf, s390_r14);
return ptr;
Modified: trunk/mono/mono/mini/tramp-sparc.c
===================================================================
--- trunk/mono/mono/mini/tramp-sparc.c 2006-06-02 14:24:44 UTC (rev 61406)
+++ trunk/mono/mono/mini/tramp-sparc.c 2006-06-02 14:41:59 UTC (rev 61407)
@@ -263,13 +263,11 @@
* This method is only called when running in the Mono Debugger.
*/
gpointer
-mono_debugger_create_notification_function (gpointer *notification_address)
+mono_debugger_create_notification_function (MonoCodeManager *codeman)
{
guint8 *ptr, *buf;
- ptr = buf = mono_global_codeman_reserve (16);
- if (notification_address)
- *notification_address = buf;
+ ptr = buf = mono_code_manager_reserve (codeman, 16);
g_assert_not_reached ();
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches