* breakpoint.h (enum enable): New enum shlib_disabled for
[deliverable/binutils-gdb.git] / gdb / remote-sim.c
index f2b39dbe358f4faa2ff25374b661adcfc3fec7e1..d0f0f50daa9a1a7948e3b928288f7618db774a01 100644 (file)
@@ -34,6 +34,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #include "gdbcore.h"
 #include "remote-sim.h"
 #include "remote-utils.h"
+#include "callback.h"
 
 /* Naming convention:
 
@@ -216,7 +217,12 @@ gdbsim_open (args, from_tty)
 {
   if (sr_get_debug ())
     printf_filtered ("gdbsim_open: args \"%s\"\n", args ? args : "(null)");
+
+  sim_set_callbacks (&default_callback);
+  default_callback.init (&default_callback);
+
   sim_open (args);
+
   push_target (&gdbsim_ops);
   target_fetch_registers (-1);
   printf_filtered ("Connected to the simulator.\n");
This page took 0.023311 seconds and 4 git commands to generate.