It would be nice if the following small patches,
affecting the Windows mcode target , could be
be incorporated into the 0.30 release.

1) Windows path-with-drive-letter patch from :
  http://gna.org/bugs/?18046

2) Change stack alignment to 16 bytes [1]

stack crash debugging patch to 0.29.1
tested on WinXP, GNAT GPL 2010

ortho/mcode/ortho_code-x86-flags_windows.ads

-   Stack_Boundary : constant Unsigned_32 := 2 ** 3;
+   Stack_Boundary : constant Unsigned_32 := 2 ** 4;


regards,
Brian Davis

[1] Old posts about 0.29.1 Win stack alignment and tristate resolution:

Although I never tracked down why changing the stack
alignment 'fixed' the problem, I've yet to see that same
stack crash with the patched version of 0.29.1on WinXP

building under Windows:
  https://mail.gna.org/public/ghdl-discuss/2011-03/msg00023.html

Stack alignment patch:
  https://mail.gna.org/public/ghdl-discuss/2011-03/msg00042.html

Bug reproducers:
  https://mail.gna.org/public/ghdl-discuss/2011-03/msg00002.html
  https://mail.gna.org/public/ghdl-discuss/2011-03/msg00005.html

Debugging attempts:
  I saw some weirdness with duplicate calls in the debug
listings,  but that didn't seem to actually be the problem:
  https://mail.gna.org/public/ghdl-discuss/2011-04/msg00013.html
  https://mail.gna.org/public/ghdl-discuss/2011-04/msg00017.html



_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to