* gdb.base/ovlymgr.c: Add overlay event breakpoint support.
+2002-04-04 Michael Snyder <msnyder@redhat.com>
+
+ * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
+
2002-04-03 Daniel Jacobowitz <drow@mvista.com>
* lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
#endif
}
+/* _ovly_debug_event:
+ * Debuggers may set a breakpoint here, to be notified
+ * when the overlay table has been modified.
+ */
+static void
+_ovly_debug_event (void)
+{
+}
+
/* OverlayLoad:
* Copy the overlay into its runtime region,
* and mark the overlay as "mapped".
_ovly_table[ovlyno][SIZE]);
FlushCache ();
-
+ _ovly_debug_event ();
return TRUE;
}
_ovly_table[ovlyno][VMA],
_ovly_table[ovlyno][SIZE]);
+ _ovly_debug_event ();
return TRUE;
}