insert_breakpoints -- insert cast to eliminate warning.
authorDavid Taylor <taylor@redhat.com>
Thu, 14 Jan 1999 00:37:26 +0000 (00:37 +0000)
committerDavid Taylor <taylor@redhat.com>
Thu, 14 Jan 1999 00:37:26 +0000 (00:37 +0000)
gdb/ChangeLog
gdb/breakpoint.c

index 2b4f6aca92e477bc8d78ad70dc339af58ce03995..d94b9f2f68277ecb7917142f3a86c66c082cd4c0 100644 (file)
@@ -1,3 +1,8 @@
+Wed Jan 13 19:33:16 1999  David Taylor  <taylor@texas.cygnus.com>
+
+       * breakpoint.c (insert_breakpoints): insert cast to eliminate
+       warning.
+
 Tue Jan 12 17:00:00 1999  Edith Epstein  <eepstein@sophia.cygnus.com>
 
        * inftarg.c (child_create_inferior): fixed HPUXHPPA specific
index b979bf280dcb2f5bdd4d025c97357e3f43ded087..5e3b44ab12371e9e3bfad711dd5f1d795eec655d 100644 (file)
@@ -665,10 +665,11 @@ insert_breakpoints ()
               /* Bp set, now make sure callbacks are enabled */ 
               args.kind = b->type == bp_catch_catch ? EX_EVENT_CATCH : EX_EVENT_THROW;
               args.enable = 1;
-              sal = catch_errors ((int (*) PARAMS ((char *))) 
-                                 cover_target_enable_exception_callback,
-                                  (char *) &args,
-                                  message, RETURN_MASK_ALL);
+              sal = (struct symtab_and_line *)
+               catch_errors ((int (*) PARAMS ((char *)))
+                             cover_target_enable_exception_callback,
+                             (char *) &args,
+                             message, RETURN_MASK_ALL);
               if (sal && (sal != (struct symtab_and_line *) -1))
                 {
                   b->inserted = 1;