This is the first of the last 3 patches for pending breakpoint support. This patch adds the actual support. The other two patches are the documentation (previously approved, but before code was accepted) and changes to the testsuite. This patch accounts for previous comments on the breakpoint code. Ok to commit? -- Jeff J. 2004-01-21 Jeff Johnston * breakpoint.h (struct breakpoint): Add new flag, from_tty, and pending fields for pending breakpoint support. * breakpoint.c (breakpoint_enabled): Add check for not pending. (condition_command): Only parse condition if not a pending breakpoint. (print_one_breakpoint): Add support for pending breakpoints. (describe_other_breakpoints): Add checks to verify we are not dealing with pending breakpoints. (check_duplicates): Don't check pending breakpoints. (set_raw_breakpoint): Initialize pending flag. (do_restore_lang_radix_cleanup): New cleanup routine. (resolve_pending_breakpoint): New function. (re_enable_breakpoints_in_shlibs): Try and resolve any pending breakpoints via resolve_pending_breakpoint. (mention): Add pending breakpoint support. (parse_breakpoint_sals): Add new parameter to pass to decode_line_1 to indicate silent errors when files or functions are not found. Change all callers. (do_captured_parse_breakpoint): New function. (break_command_1): Catch errors when parsing the breakpoint. If a "not found" error occurs, offer to make the breakpoint pending on a future shared library load. Do not parse any conditional if breakpoint is pending. (delete_breakpoint): Add appropriate check for pending. (breakpoint_re_set_one): Ditto. (do_enable_breakpoint): Ditto.