Preserving the argument spills for GDB

Ian Lance Taylor iant@google.com
Wed Nov 4 16:45:00 GMT 2009


Jean Christophe Beyler <jean.christophe.beyler@gmail.com> writes:

>> You can force your writes to the stack to not be removed by making
>> them use UNSPEC_VOLATILE.  You would write special define_insns for
>> this.
>
> Is there an architecture port that has done this already ?

No, because, when given the choice, gcc prefers faster execution over
more reliable debugging at high optimization levels.

Ian



More information about the Gcc mailing list