2002-04-04 Michael Snyder <msnyder@redhat.com>
* gdb.base/ovlymgr.c: Add overlay event breakpoint support.
This commit is contained in:
parent
61bef6f1a0
commit
b22ad7a776
|
@ -1,3 +1,7 @@
|
||||||
|
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>
|
2002-04-03 Daniel Jacobowitz <drow@mvista.com>
|
||||||
|
|
||||||
* lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
|
* lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
|
||||||
|
|
|
@ -30,6 +30,15 @@ FlushCache (void)
|
||||||
#endif
|
#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:
|
/* OverlayLoad:
|
||||||
* Copy the overlay into its runtime region,
|
* Copy the overlay into its runtime region,
|
||||||
* and mark the overlay as "mapped".
|
* and mark the overlay as "mapped".
|
||||||
|
@ -57,7 +66,7 @@ OverlayLoad (unsigned long ovlyno)
|
||||||
_ovly_table[ovlyno][SIZE]);
|
_ovly_table[ovlyno][SIZE]);
|
||||||
|
|
||||||
FlushCache ();
|
FlushCache ();
|
||||||
|
_ovly_debug_event ();
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -80,6 +89,7 @@ OverlayUnload (unsigned long ovlyno)
|
||||||
_ovly_table[ovlyno][VMA],
|
_ovly_table[ovlyno][VMA],
|
||||||
_ovly_table[ovlyno][SIZE]);
|
_ovly_table[ovlyno][SIZE]);
|
||||||
|
|
||||||
|
_ovly_debug_event ();
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue