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] |
On 2017-07-19 12:09, Yao Qi wrote:
Simon Marchi <simon.marchi@ericsson.com> writes:Maybe a better solution would be to change the test to make it cope withdifferent stack layouts (perhaps it could save addresses of stuff insome global variables which GDB/the unwinder would read). I'll go withthe simple solution for now though.I prefer moving this test to unit test, and the input is a series ofinstructions (copied from py-unwind.exe). The unit test or self test cansomehow test python unwinder works as expected.
Ok, I take a note to try that eventually.
gdb/testsuite/ChangeLog: * gdb.python/py-unwind.exp: Disable stack protection when building test file.The patch is good to me, but I think the test itself is still a little fragile.
Yes, it's still very fragile. I'll push the current patch anyhow, since it fixes it for now.
Thanks, Simon
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |