This is the mail archive of the gdb@sources.redhat.com 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]

Re: remote protocol extension for step out of range


"J.T. Conklin" wrote:

> Step-out-of-range only commands might look like:
> 
>         ENN,SS..SS,EE..EE[,AA...AA]
> or:
>         eSS...SS,EE..EE[,AA..AA]
> 
> Which would step from the PC and repeat until it moved out of the
> range described by SS..SS and EE..EE.  I've also preserved the ability
> to set the initial PC like the existing step commands for parallelism;
> I don't expect that GDB will use it either.
> 
> To be able to successfully probe for this command, there should be a
> return value.  An OK or EXX response should do.  Older stubs would
> return "" as they do for all unrecognized commands.
> 
> Btw, I chose 'E/e' because that was the only letter in the word 'step'
> that isn't already used.

Would an addition to the breakpoint packet work?  Rather than break when
in this range, break when outside of this range.

	Andrew

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