* alpha-opc.c (alpha_opcodes): Fix thinko in ret pseudo
[deliverable/binutils-gdb.git] / gdb / symfile.c
index bbc237607dafa40f52c603806cdc2137972d222c..ebdd62baff7c766c0b610e21ba7adcc6dd35a924 100644 (file)
@@ -2898,6 +2898,7 @@ static void
 overlay_auto_command (char *args, int from_tty)
 {
   overlay_debugging = ovly_auto;
+  enable_overlay_breakpoints ();
   if (info_verbose)
     printf_filtered ("Automatic overlay debugging enabled.");
 }
@@ -2910,6 +2911,7 @@ static void
 overlay_manual_command (char *args, int from_tty)
 {
   overlay_debugging = ovly_on;
+  disable_overlay_breakpoints ();
   if (info_verbose)
     printf_filtered ("Overlay debugging enabled.");
 }
@@ -2922,6 +2924,7 @@ static void
 overlay_off_command (char *args, int from_tty)
 {
   overlay_debugging = ovly_off;
+  disable_overlay_breakpoints ();
   if (info_verbose)
     printf_filtered ("Overlay debugging disabled.");
 }
This page took 0.024075 seconds and 4 git commands to generate.