public void DomainUnload(Inferior inferior, int domain)
{
Lock ();
try {
int[] indices = new int [index_hash.Count];
index_hash.Keys.CopyTo (indices, 0);
for (int i = 0; i < indices.Length; i++) {
BreakpointEntry entry = (BreakpointEntry) index_hash [indices [i]];
if (entry.Domain != domain)
continue;
inferior.RemoveBreakpoint (indices [i]);
index_hash.Remove (indices [i]);
}
} finally {
Unlock ();
}
}