This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA/PATCH] breakpoint.c: fix until command
Daniel Jacobowitz writes:
> On Fri, Jan 10, 2003 at 05:29:33PM -0500, Elena Zannoni wrote:
> > Daniel Jacobowitz writes:
> > > On Wed, Jan 08, 2003 at 05:12:50PM -0500, Elena Zannoni wrote:
> > > > I don't much like having options, it's too much to type. :-) I think
> > > > we should leave the until as it is, name and all. Or it will confuse
> > > > people even more. I like 'to' as a possible simple name for the other
> > > > form. Or 'through'.
> > >
> > > The problem is, neither to or through makes sense to me as an option; I
> > > can't figure out what it will do.
> > >
> >
> > Not as an option, I was thinking as a separate command.
>
> Sorry, so was I. I can't see what "to" would do, really.
>
> > (to tell you the through, it should just be an argument to 'continue').
>
> I suppose, but then we're back where we started.
>
> continue
> continue until foo
> continue to 34
No no, I meant 2 different commands, not options.
until <location> (with the current behavior)
to <location> (with the 'new' behavior)
or until <location>
continue <location> (but unfortunately continue has already an argument)
Elena
>
> [still not clear what the difference there is.]
>
> --
> Daniel Jacobowitz
> MontaVista Software Debian GNU/Linux Developer