Tidy i386 signal handler

guru guru@computer-rave.com
Wed Feb 7 09:04:00 GMT 2007


Hi
this one had a _reg error with prims.cc
So I looked again at org and this one 
http://gcc.gnu.org/ml/java/2007-01/msg00047.html
and just tried
-         _regs->eip += 2;                                              \
+         _gregs[REG_EIP] = (greg_t)_eip;   not sure if this is right 
even thou it seems to be working





Also this one I had to fix since the touch stamp-gnatlib was there I 
figured with the \ it was ignoring that it was supposed to goto the next 
line.
:D


--- gcc-4.1.1/gnattools/Makefile.in.org 2007-02-06 10:58:40.000000000 -0700
+++ gcc-4.1.1/gnattools/Makefile.in     2007-02-06 11:01:00.000000000 -0700
@@ -168,8 +168,7 @@

 # Sanity check
 $(GCC_DIR)/stamp-gnatlib:
-       @if [ ! -f $(GCC_DIR)/stamp-gnatlib ] ; \
-        then \
+       @if [ ! -f $(GCC_DIR)/stamp-gnatlib ] ; then \
           echo "Cannot build gnattools while gnatlib is out of date or 
unbuilt" ; \
           false; \
         else \





More information about the Gcc-help mailing list