[sdb] Align the location of the MonoContext structure on the stack in the sdb trampol...
authorZoltan Varga <vargaz@gmail.com>
Wed, 9 Dec 2015 21:36:36 +0000 (16:36 -0500)
committerZoltan Varga <vargaz@gmail.com>
Wed, 9 Dec 2015 21:36:54 +0000 (16:36 -0500)
mono/mini/tramp-x86.c

index 8838c4956e563845c5b7b4ba6efaa5b35c70f3c3..2b4475f0a67e929629a8b46cee381cf8e911c365 100644 (file)
@@ -758,6 +758,7 @@ mono_arch_create_sdb_trampoline (gboolean single_step, MonoTrampInfo **info, gbo
        /* Argument area */
        framesize += sizeof (mgreg_t);
 
+       framesize = ALIGN_TO (framesize, 8);
        ctx_offset = framesize;
        framesize += sizeof (MonoContext);