Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [patch i386, 0/2] skip insns generated by -fstack-protector
@ 2010-12-24  8:42 Yao Qi
  2010-12-24  9:15 ` Yao Qi
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Yao Qi @ 2010-12-24  8:42 UTC (permalink / raw)
  To: gdb-patches

GDB doesn't handle insns for stack protector on i386.  These two patches 
are drafted to address this.

Patch 1 is about fixing GDB analyze i386 prologue for insns and/add, 
which are part of i386 prologue, but GDB can't handle.

Patch 2 is about handling i386 stack protector insns during prologue 
analysis.  Without patch 1, patch 2 doesn't work in some cases.

Regression tested on i686-pc-linux-gnu with -fstack-protector.  These 
failures are fixed,

-FAIL: gdb.mi/gdb792.exp: create var for class A
-FAIL: gdb.mi/gdb792.exp: list children of class A
-FAIL: gdb.mi/gdb792.exp: list children of A.public
-FAIL: gdb.mi/gdb792.exp: list children of A.private
-FAIL: gdb.mi/gdb792.exp: list children of A.protected
-FAIL: gdb.mi/gdb792.exp: list children of A.protected.b
-FAIL: gdb.mi/gdb792.exp: list children of A.protected.b.public
-FAIL: gdb.mi/gdb792.exp: list children of A.protected.b.private
-FAIL: gdb.mi/gdb792.exp: create var for class C which has baseclass A
-FAIL: gdb.mi/gdb792.exp: list children of class C

-- 
Yao Qi


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-01-13 11:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-24  8:42 [patch i386, 0/2] skip insns generated by -fstack-protector Yao Qi
2010-12-24  9:15 ` Yao Qi
2010-12-24 11:28   ` Andreas Schwab
2010-12-25 14:03     ` Yao Qi
2010-12-24  9:36 ` [patch i386, 2/2] " Yao Qi
2011-01-04 15:22 ` [PING patch i386, 0/2] " Yao Qi
2011-01-13 11:56   ` Yao Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox