Follow-up Comment #13, bug #25037 (project gnustep):
Richard suggested to tweak the nsinvocation to get the retLarge as the first,
and research, why it is crashing from withing gdb. However, nsinvocation is
actually not crashing in loopLarge, or retLarge, but in loopSmall (see
stacktrace in last comment):
(gdb) list nsinvocation.m:490
485 printf("Expect: {99,large,99.99}, ");
486 [inv getReturnValue: &la];
487 printf("invoke: {%d,%s,%.2f} ", la.i, la.s, la.f);
488 la = [p retLarge];
489 printf("forward: {%d,%s,%.2f}n", la.i, la.s, la.f);
490
491 SETUP(loopSmall:);
492 printf("Expect: {8,9}, ");
493 [inv setArgument: &tmpsm atIndex: 2];
494 [inv invokeWithTarget: t];
(gdb) list nsinvocation.m:497
492 printf("Expect: {8,9}, ");
493 [inv setArgument: &tmpsm atIndex: 2];
494 [inv invokeWithTarget: t];
495 [inv getReturnValue: &sm];
496 printf("invoke: {%d,%d} ", sm.c, sm.i);
497 sm = [p loopSmall: tmpsm];
498 printf("forward: {%d,%d}n", sm.c, sm.i);
499
500 SETUP(loopLarge:);
501 printf("Expect: {1,hello,1.23}, ");
had no time yet to look, why the things happen, probably next year ;)
thanks
Sebastian
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?25037>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep