GNU Binutils with patches for OS216
リビジョン | b05e64e5fe26950eba7f895b31019b8cc598b42d (tree) |
---|---|
日時 | 2006-07-25 05:10:48 |
作者 | Frederic Riss <frederic.riss@st.c...> |
コミッター | Frederic Riss |
2006-07-21 Frederic Riss <frederic.riss@st.com>
* regcache.c (struct regcache): Make register_valid_p a signed
char
array.
@@ -1,3 +1,8 @@ | ||
1 | +2006-07-21 Frederic Riss <frederic.riss@st.com> | |
2 | + | |
3 | + * regcache.c (struct regcache): Make register_valid_p a signed char | |
4 | + array. | |
5 | + | |
1 | 6 | 2006-07-24 Jan Kratochvil <jan.kratochvil@redhat.com> |
2 | 7 | Daniel Jacobowitz <dan@codesourcery.com> |
3 | 8 |
@@ -186,7 +186,11 @@ struct regcache | ||
186 | 186 | full [0 .. NUM_REGS + NUM_PSEUDO_REGS) while a read/write |
187 | 187 | register cache can only hold [0 .. NUM_REGS). */ |
188 | 188 | gdb_byte *registers; |
189 | - gdb_byte *register_valid_p; | |
189 | + /* Register cache status: | |
190 | + register_valid_p[REG] == 0 if REG value is not in the cache | |
191 | + > 0 if REG value is in the cache | |
192 | + < 0 if REG value is permanently unavailable */ | |
193 | + signed char *register_valid_p; | |
190 | 194 | /* Is this a read-only cache? A read-only cache is used for saving |
191 | 195 | the target's register state (e.g, across an inferior function |
192 | 196 | call or just before forcing a function return). A read-only |