(svr4_solib_create_inferior_hook): Do not warn if enable_break fails.
+2007-04-10 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * solib-svr4.c (enable_break): Simplify return value.
+ (svr4_solib_create_inferior_hook): Do not warn if enable_break fails.
+
2007-04-10 Andreas Schwab <schwab@suse.de>
* solib-svr4.h (struct link_map_offsets): Remove l_addr_size,
static int
enable_break (void)
{
- int success = 0;
-
#ifdef BKPT_AT_SYMBOL
struct minimal_symbol *msymbol;
return 1;
}
}
-
- /* Nothing good happened. */
- success = 0;
-
#endif /* BKPT_AT_SYMBOL */
- return (success);
+ return 0;
}
/*
}
if (!enable_break ())
- {
- warning (_("shared library handler failed to enable breakpoint"));
- return;
- }
+ return;
#if defined(_SCO_DS)
/* SCO needs the loop below, other systems should be using the