diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/ovlymgr.c')
-rw-r--r-- | gdb/testsuite/gdb.base/ovlymgr.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/ovlymgr.c b/gdb/testsuite/gdb.base/ovlymgr.c index 0b04c54..f4958ed 100644 --- a/gdb/testsuite/gdb.base/ovlymgr.c +++ b/gdb/testsuite/gdb.base/ovlymgr.c @@ -30,6 +30,15 @@ FlushCache (void) #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". @@ -57,7 +66,7 @@ OverlayLoad (unsigned long ovlyno) _ovly_table[ovlyno][SIZE]); FlushCache (); - + _ovly_debug_event (); return TRUE; } @@ -80,6 +89,7 @@ OverlayUnload (unsigned long ovlyno) _ovly_table[ovlyno][VMA], _ovly_table[ovlyno][SIZE]); + _ovly_debug_event (); return TRUE; } |