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: [RFC] Use of create_new_frame from 'frame'.


> Date: Wed, 08 Jul 2015 20:46:17 +0100
> From: Pedro Alves <palves@redhat.com>
> CC: gdb-patches@sourceware.org
> 
> > You could also ask the user for confirmation, when the command is
> > going to create a new frame.
> 
> I'd rather the explicit approach, because querying works when
> in interactive mode, but not with scripts.

We've got the same situation with umpteen other commands, and we also
have a solution for scripts: we implicitly assume a NO answer.

But I'm not going to insist.  I just wanted to remind us that there's
one more alternative.


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