* breakpoint.c (set_breakpoint_sal): Delete.
+2007-11-05 Joel Brobecker <brobecker@adacore.com>
+
+ * breakpoint.h (set_breakpoint_sal): Remove declaration.
+ * breakpoint.c (set_breakpoint_sal): Delete.
+
2007-11-05 Joel Brobecker <brobecker@adacore.com>
* buildsym.c (finish_block): Remove "#if 1"/"#endif" brackets.
}
}
-/* Used by the gui, could be made a worker for other things. */
-
-struct breakpoint *
-set_breakpoint_sal (struct symtab_and_line sal)
-{
- struct breakpoint *b;
- b = set_raw_breakpoint (sal, bp_breakpoint);
- set_breakpoint_count (breakpoint_count + 1);
- b->number = breakpoint_count;
- b->thread = -1;
- return b;
-}
-
static void
catch_command (char *arg, int from_tty)
{
such as a library load or unload. */
extern int ep_is_shlib_catchpoint (struct breakpoint *);
-extern struct breakpoint *set_breakpoint_sal (struct symtab_and_line);
-
/* Enable breakpoints and delete when hit. Called with ARG == NULL
deletes all breakpoints. */
extern void delete_command (char *arg, int from_tty);