diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-19 19:02:10 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-19 19:02:10 -0800 |
commit | 71cde5e359f273585880ea8986709b950ba85b08 (patch) | |
tree | b04f841ddfe6c0900f48b676cbb6c84d12eea7a3 /src/target/mips32.h | |
parent | 31fb7788a605fe1c0c405444b5bab51a7e42d481 (diff) |
target: create/use register_cache_invalidate()
Create a generic register_cache_invalidate(), and use it to
replace three all-but-identical core-specific routines:
- armv4_5_invalidate_core_regs()
- armv7m_invalidate_core_regs
- mips32_invalidate_core_regs() too.
Make cache->num_regs be unsigned, avoiding various errors.
Net code shrink and simplification.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/mips32.h')
-rw-r--r-- | src/target/mips32.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/target/mips32.h b/src/target/mips32.h index 1ac682b8..7d1928e5 100644 --- a/src/target/mips32.h +++ b/src/target/mips32.h @@ -147,7 +147,6 @@ int mips32_examine(struct target *target); int mips32_register_commands(struct command_context *cmd_ctx); -int mips32_invalidate_core_regs(struct target *target); int mips32_get_gdb_reg_list(struct target *target, struct reg **reg_list[], int *reg_list_size); |