From 320d5bd8b6a55f3b0236628c81f5a342aed50275 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Thu, 14 Jan 1999 00:37:26 +0000 Subject: [PATCH] insert_breakpoints -- insert cast to eliminate warning. --- gdb/ChangeLog | 5 +++++ gdb/breakpoint.c | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2b4f6aca92e..d94b9f2f682 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Wed Jan 13 19:33:16 1999 David Taylor + + * breakpoint.c (insert_breakpoints): insert cast to eliminate + warning. + Tue Jan 12 17:00:00 1999 Edith Epstein * inftarg.c (child_create_inferior): fixed HPUXHPPA specific diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index b979bf280dc..5e3b44ab123 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -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; -- 2.30.2