This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch i386, 0/2] skip insns generated by -fstack-protector


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]