This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] bpstat_do_actions in one place


On Mon, May 05, 2008 at 10:38:27PM +0300, Eli Zaretskii wrote:
> So it "discards the remaining output".  But this `q' is not a command,
> just a one-letter response (GDB doesn't care what follows the initial
> `q'), just like it's sibling <RET> isn't a command, so there's no
> reason to expect that it will have _any_ effect inside breakpoint
> commands, or in any other context where GDB expects a command.  Am I
> missing something?

I wasn't worried about embedding the q in the breakpoint commands
list, but about what effect it has when the prompt is triggered by
a command in the breakpoint command list.  Basically, how far up
the call stack is considered "the remaining output"?  Since what
it actually does is abort the command, not just discard the output.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]