aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-xtensa/ptrace.h
diff options
context:
space:
mode:
authorChris Zankel <chris@zankel.net>2007-05-31 20:49:32 -0400
committerChris Zankel <chris@zankel.net>2007-05-31 20:49:32 -0400
commit29c4dfd92edc26c2cd2c0c64c9201d5b91d6418e (patch)
tree64b2884bb49a86f2895d9206b79bf9f64e384615 /include/asm-xtensa/ptrace.h
parentadba09f01577ea441a761a85aacb1e43b58d35c4 (diff)
[XTENSA] Remove non-rt signal handling
The non-rt signal handling was never really used, so we don't break anything. This patch also cleans up the signal stack-frame to make it independent from the processor configuration. It also improves the method used for controlling single-stepping. We now save and restore the 'icountlevel' register that controls single stepping and set or clear the saved state to enable or disable it. Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'include/asm-xtensa/ptrace.h')
-rw-r--r--include/asm-xtensa/ptrace.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-xtensa/ptrace.h b/include/asm-xtensa/ptrace.h
index cad83e814d69..77ff02d307bb 100644
--- a/include/asm-xtensa/ptrace.h
+++ b/include/asm-xtensa/ptrace.h
@@ -99,7 +99,8 @@ struct pt_regs {
99 unsigned long windowbase; /* 48 */ 99 unsigned long windowbase; /* 48 */
100 unsigned long windowstart; /* 52 */ 100 unsigned long windowstart; /* 52 */
101 unsigned long syscall; /* 56 */ 101 unsigned long syscall; /* 56 */
102 int reserved[2]; /* 64 */ 102 unsigned long icountlevel; /* 60 */
103 int reserved[1]; /* 64 */
103 104
104 /* Make sure the areg field is 16 bytes aligned. */ 105 /* Make sure the areg field is 16 bytes aligned. */
105 int align[0] __attribute__ ((aligned(16))); 106 int align[0] __attribute__ ((aligned(16)));