From: Pierre-Marc Fournier Date: Wed, 4 Nov 2009 04:26:18 +0000 (-0500) Subject: save registers: fix small problems X-Git-Tag: v0.1~57 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=a5850bc4ccd4fab794c76a368648e21236d7db01;hp=a5850bc4ccd4fab794c76a368648e21236d7db01;p=ust.git save registers: fix small problems - Don't put C code at the beginning of save save_registers macro, as it will change the registers in unpredictable ways. Therefore, test whether ust_reg_stack_ptr has been initialized in assembly code. - Save rflags at the begginning of the stub because using the test instruction may change its content. ---