aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-xtensa/elf.h
diff options
context:
space:
mode:
authorChris Zankel <chris@zankel.net>2008-01-28 18:55:01 -0500
committerChris Zankel <chris@zankel.net>2008-02-13 20:45:36 -0500
commit42086cec3263b8c015ca3faa01e8190f0e3ff445 (patch)
treec28564042c13ee09e652dc176b6f8cd87ce10359 /include/asm-xtensa/elf.h
parentbdd362ff4ff8dc0c697ce87dbb337f3b7341fc46 (diff)
[XTENSA] Allow debugger to modify the WINDOWBASE register.
For the 'return' command, GDB needs to adjust WINDOWBASE. In case WB is different from 0, we need to rotate the window register file and update WINDOWSTART and WMASK. This patch also removes some ret|= statements for __get_user/__put_user as the address range was alrady checked a couple of lines earlier. Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'include/asm-xtensa/elf.h')
-rw-r--r--include/asm-xtensa/elf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-xtensa/elf.h b/include/asm-xtensa/elf.h
index 11103e07d028..ca6e5101a2cb 100644
--- a/include/asm-xtensa/elf.h
+++ b/include/asm-xtensa/elf.h
@@ -82,7 +82,8 @@ typedef struct {
82 elf_greg_t lcount; 82 elf_greg_t lcount;
83 elf_greg_t sar; 83 elf_greg_t sar;
84 elf_greg_t windowstart; 84 elf_greg_t windowstart;
85 elf_greg_t reserved[9+48]; 85 elf_greg_t windowbase;
86 elf_greg_t reserved[8+48];
86 elf_greg_t a[64]; 87 elf_greg_t a[64];
87} xtensa_gregset_t; 88} xtensa_gregset_t;
88 89