commit | e4fa46e75cd0d433b5c6c064720ed7e195cba7c8 | [log] [tgz] |
---|---|---|
author | Matt Fischer <matt.fischer@garmin.com> | Mon Jan 11 10:02:06 2010 +0800 |
committer | Garmin Android technology group <android@garmin.com> | Wed May 12 14:18:36 2010 -0500 |
tree | 88ab07e29e66cff45b3588718fa778c8218c4b6e | |
parent | c3581dc78a51180d3550d0d04596657cb2db852c [diff] |
Set SA_RESTORER in sigaction() GDB looks for specific opcode sequences when trying to recognize a stack frame as a signal trampoline. The sequences it looks for happen to be those created when SA_RESTORER is set, since glibc always sets a restorer. This patch does the same here, so that the trampolines can be correctly identified. Change-Id: I0ac574a68818cb24d939c3527f3aaeb04b853d04