From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Philippe De Muyter" To: gdb-patches@cygnus.com (gdb-patches@cygnus.com) Subject: `step'-like commands in breakpoint commands list Date: Mon, 12 Apr 1999 15:51:00 -0000 Message-id: <199904122248.AAA31605@mail.macqel.be> X-SW-Source: 1999-q2/msg00018.html On m68k-motorola-sysv and on powerpc-ibm-aix4.1.5.0, with gdb-4.17.87, the testsuite fails at `continue in infrun_breakpoint_command_test', because the breakpoint commands list is only executed up to the first `step' command. The patch below fixes that. Tue Apr 13 00:31:48 1999 Philippe De Muyter * infrun.c (clear_proceed_status): Do not set `breakpoint_proceeded'. --- ./infrun.c Tue Apr 13 00:30:53 1999 +++ ./infrun.c Tue Apr 13 00:30:48 1999 @@ -783,7 +783,13 @@ clear_proceed_status () stop_after_trap = 0; stop_soon_quietly = 0; proceed_to_finish = 0; +#if 0 /* FIXME : Disabled 1999-04-12 by phdm@macqel.be, to allow `step', + `next', `finish', etc. to work in breakpoint commands list. As + this is the only instruction that sets `breakpoint_proceeded', + all the `breakpoint_proceeded'-related stuff could also be removed. + */ breakpoint_proceeded = 1; /* We're about to proceed... */ +#endif /* Discard any remaining commands or status from previous stop. */ bpstat_clear (&stop_bpstat);