"Stan" == Stan Shebs<stanshebs@earthlink.net> writes:
Sorry about the delay on this.
Stan> + /* Manufacture a printf/continue sequence. */
Stan> + if (printf_line)
Stan> + {
Stan> + struct command_line *printf_cmd_line, *cont_cmd_line = NULL;
Stan> +
Stan> + cont_cmd_line = xmalloc (sizeof (struct command_line));
Stan> + cont_cmd_line->control_type = simple_control;
Stan> + cont_cmd_line->body_count = 0;
Stan> + cont_cmd_line->body_list = NULL;
Stan> + cont_cmd_line->next = NULL;
Stan> + cont_cmd_line->line = xstrdup ("continue");
Stan> +
Stan> + printf_cmd_line = xmalloc (sizeof (struct command_line));
Stan> + printf_cmd_line->control_type = simple_control;
Stan> + printf_cmd_line->body_count = 0;
Stan> + printf_cmd_line->body_list = NULL;
Stan> + printf_cmd_line->next = cont_cmd_line;
Stan> + printf_cmd_line->line = printf_line;
Stan> +
Stan> + breakpoint_set_commands (b, printf_cmd_line);
I thought this approach would break "next"ing over a dprintf location.