Initial check-in of interpreter support from Apple. (Slightly massaged and
modified by me.)
Initial check-in of interpreter support from Apple. (Slightly massaged and
modified by me.)
Initial check-in of interpreter support from Apple. (Slightly massaged and
modified by me.)
Add files mentioned in yesterday's changelog. Oops.
        * mi1-basics.exp, mi1-break,.exp mi1-console.exp, mi1-disassemble.exp,
        mi1-eval.exp, mi1-hack-cli.exp, mi1-read-memory.exp, mi1-regs.exp,
        mi1-return.exp, mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp,
        mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp, mi1-var-cmd.exp,
        mi1-var-display.exp mi1-watch.exp: New files.
        * mi-break.exp, mi-console.exp, mi-disassemble.exp,
        mi-eval.exp, mi-return.exp, mi-simplerun.exp, mi-stack.exp, mi-stepi.exp,
        mi-until.exp, mi-var-block.exp, mi-var-child.exp, mi-var-cmd.exp,
        mi-var-display.exp mi-watch.exp: Update to conform to MI2
        notify-async-output (events).
        * mi1-basics.exp, mi1-break,.exp mi1-console.exp, mi1-disassemble.exp,
        mi1-eval.exp, mi1-hack-cli.exp, mi1-read-memory.exp, mi1-regs.exp,
        mi1-return.exp, mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp,
        mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp, mi1-var-cmd.exp,
        mi1-var-display.exp mi1-watch.exp: New files.
        * mi-break.exp, mi-console.exp, mi-disassemble.exp,
        mi-eval.exp, mi-return.exp, mi-simplerun.exp, mi-stack.exp, mi-stepi.exp,
        mi-until.exp, mi-var-block.exp, mi-var-child.exp, mi-var-cmd.exp,
        mi-var-display.exp mi-watch.exp: Update to conform to MI2
        notify-async-output (events).
        * lib/mi-support.exp (mi_run_to_main): Use MIFLAGS to figure
        out what version of MI is running. Use this to determine the proper
        output of setting a breakpoint.
        * mi-cmd-break.c (breakpoint_notify): Only query the breakpoint
        for user breakpoints.
        (mi_cmd_break_insert): Only reset event handlers for MI0 and MI1
        interpreters.
        (mi_cmd_break_watch): Reset uiout output to clear watchpoint
        query. This is only used for MI0 and MI1.

        * mi-console.h (mi_console_file_new): Add "quote" parameter.
        * mi_console.c (struct mi_console_file): Add "quote".
        (mi_console_file_new): Add "quote" parameter.
        (mi_console_raw_packet): Use the quote character specified in
        mi_console_file_new, instead of assuming it is '"'.

        * mi-interp.c (mi_event_channel): New channel for event notifications.
        (mi_interpreter_init): Make static.
        Set event handlers.
        (mi_interpreter_resume): Make static.
        Deal with MI version bump.
        (mi_interpreter_suspend): Make static.
        (mi_interpreter_delete): Ditto.
        (mi_do_one_event): Ditto.
        (mi_cmd_exec_continuation): Ditto.
        (mi_interp_query_hook): Ditto.
        (mi_interp_read_one_line_hook): Ditto.
        (_initialize_mi_interp): Create explicit mi1 interp.

        * mi-events.c (notify_event): New helper function.
        (mi_create_breakpoint, mi_modify_breakpoint, mi_delete_breakpoint,
        mi_create_tracepoint, mi_modify_tracepoint, mi_delete_tracepoint,
        mi_architecture_changed): New functions.

        * mi.h: Add declarations for mi_create_breakpoint, mi_modify_breakpoint,
        mi_delete_breakpoint, mi_create_tracepoint, mi_modify_tracepoint,
        mi_delete_tracepoint, mi_architecture_changed, mi_stdout, mi_stderr,
        mi_stdtarg, mi_stdlog, and mi_eventchannel.

        * mi-main.c (captured_mi_execute_command): Deal with mi version
        bump.
        (mi_load_progress): Ditto.

        * gdbmi.texinfo: Expand notify-async-output to include GDB events.
        Update all examples to show breakpoint events and
        remove redundant breakpoint info on "-break-insert" and "-break-watch".
        The event now supplies everything that is needed.
        * mi-cmd-break.c (breakpoint_notify): Only query the breakpoint
        for user breakpoints.
        (mi_cmd_break_insert): Only reset event handlers for MI0 and MI1
        interpreters.
        (mi_cmd_break_watch): Reset uiout output to clear watchpoint
        query. This is only used for MI0 and MI1.

        * mi-console.h (mi_console_file_new): Add "quote" parameter.
        * mi_console.c (struct mi_console_file): Add "quote".
        (mi_console_file_new): Add "quote" parameter.
        (mi_console_raw_packet): Use the quote character specified in
        mi_console_file_new, instead of assuming it is '"'.

        * mi-interp.c (mi_event_channel): New channel for event notifications.
        (mi_interpreter_init): Make static.
        Set event handlers.
        (mi_interpreter_resume): Make static.
        Deal with MI version bump.
        (mi_interpreter_suspend): Make static.
        (mi_interpreter_delete): Ditto.
        (mi_do_one_event): Ditto.
        (mi_cmd_exec_continuation): Ditto.
        (mi_interp_query_hook): Ditto.
        (mi_interp_read_one_line_hook): Ditto.
        (_initialize_mi_interp): Create explicit mi1 interp.

        * mi-events.c (notify_event): New helper function.
        (mi_create_breakpoint, mi_modify_breakpoint, mi_delete_breakpoint,
        mi_create_tracepoint, mi_modify_tracepoint, mi_delete_tracepoint,
        mi_architecture_changed): New functions.

        * mi.h: Add declarations for mi_create_breakpoint, mi_modify_breakpoint,
        mi_delete_breakpoint, mi_create_tracepoint, mi_modify_tracepoint,
        mi_delete_tracepoint, mi_architecture_changed, mi_stdout, mi_stderr,
        mi_stdtarg, mi_stdlog, and mi_eventchannel.

        * mi-main.c (captured_mi_execute_command): Deal with mi version
        bump.
        (mi_load_progress): Ditto.

        * gdbmi.texinfo: Expand notify-async-output to include GDB events.
        Update all examples to show breakpoint events and
        remove redundant breakpoint info on "-break-insert" and "-break-watch".
        The event now supplies everything that is needed.
        * breakpoint.c (internal_breakpoint_number): Make static global.
        (condition_command): Add modify breakpoint event notification.
        (commands_command): Likewise.
        (create_internal_breakpoint): internal_breakpoint_number is now global.
        Add create breakpoint event notification.
        (create_fork_vfork_event_catchpoint): Likewise.
        (create_exec_event_catchpoint): Likewise.
        (mention): Remove FIXME and create breakpoint event.
        (create_breakpoints): Add create breakpoint event notification.
        (watch_command_1): Likewise.
        (create_exception_catchpoint): Likewise.
        (set_breakpoint_sal): Likewise.
        (set_ignore_count): Add modify breakopint event notification.

        * interps.h: Add GDB_INTERPRETER_MI1. GDB_INTERPRETER_MI will
        now be mi version 2.

        * cli/cli-interp.c (cli_uiout): Make static.
        (cli_interp): Make static.
        (cli_interpreter_exec): Use cli_uiout instead of uiout.
        * breakpoint.c (internal_breakpoint_number): Make static global.
        (condition_command): Add modify breakpoint event notification.
        (commands_command): Likewise.
        (create_internal_breakpoint): internal_breakpoint_number is now global.
        Add create breakpoint event notification.
        (create_fork_vfork_event_catchpoint): Likewise.
        (create_exec_event_catchpoint): Likewise.
        (mention): Remove FIXME and create breakpoint event.
        (create_breakpoints): Add create breakpoint event notification.
        (watch_command_1): Likewise.
        (create_exception_catchpoint): Likewise.
        (set_breakpoint_sal): Likewise.
        (set_ignore_count): Add modify breakopint event notification.

        * interps.h: Add GDB_INTERPRETER_MI1. GDB_INTERPRETER_MI will
        now be mi version 2.

        * cli/cli-interp.c (cli_uiout): Make static.
        (cli_interp): Make static.
        (cli_interpreter_exec): Use cli_uiout instead of uiout.
        * breakpoint.c (internal_breakpoint_number): Make static global.
        (condition_command): Add modify breakpoint event notification.
        (commands_command): Likewise.
        (create_internal_breakpoint): internal_breakpoint_number is now global.
        Add create breakpoint event notification.
        (create_fork_vfork_event_catchpoint): Likewise.
        (create_exec_event_catchpoint): Likewise.
        (mention): Remove FIXME and create breakpoint event.
        (create_breakpoints): Add create breakpoint event notification.
        (watch_command_1): Likewise.
        (create_exception_catchpoint): Likewise.
        (set_breakpoint_sal): Likewise.
        (set_ignore_count): Add modify breakopint event notification.

        * interps.h: Add GDB_INTERPRETER_MI1. GDB_INTERPRETER_MI will
        now be mi version 2.

        * cli/cli-interp.c (cli_uiout): Make static.
        (cli_interp): Make static.
        (cli_interpreter_exec): Use cli_uiout instead of uiout.
Merge with mainline, kseitz_interps-20020619-merge.
Merge with mainline, kseitz_interps-20020619-merge.
Merge with mainline, kseitz_interps-20020619-merge.
Merge with mainline, kseitz_interps-20020619-merge.
Merge with mainline, kseitz_interps-20020619-merge.
Merge with mainline, kseitz_interps-20020619-merge.
Merge with mainline, kseitz_interps-20020619-merge.
Merge with mainline, kseitz_interps-20020619-merge.