-/* A callback for iterate_over_inferiors that updates the inferior's
- JIT breakpoint information, if necessary. */
-
-static int
-jit_update_inferior_cache (struct inferior *inf, void *data)
-{
- struct bp_location *loc = data;
-
- if (inf->pspace == loc->pspace)
- {
- struct jit_inferior_data *inf_data;
-
- inf_data = inferior_data (inf, jit_inferior_data);
- if (inf_data != NULL && inf_data->jit_breakpoint == loc->owner)
- {
- inf_data->cached_code_address = 0;
- inf_data->jit_breakpoint = NULL;
- }
- }
-
- return 0;
-}
-