]> git.sur5r.net Git - openocd/blobdiff - src/target/register.h
target/cortex_m: do not leak memory on reexamination
[openocd] / src / target / register.h
index 354a17973cdeb0466f510fd547175105063d3918..7bac69b5a705cd39aa2ff749ff592edad40e11fe 100644 (file)
@@ -146,6 +146,7 @@ struct reg_arch_type {
 struct reg *register_get_by_name(struct reg_cache *first,
                const char *name, bool search_all);
 struct reg_cache **register_get_last_cache_p(struct reg_cache **first);
+void register_unlink_cache(struct reg_cache **cache_p, const struct reg_cache *cache);
 void register_cache_invalidate(struct reg_cache *cache);
 
 void register_init_dummy(struct reg *reg);