[RFA] Fix regression in "commands"

Pedro Alves palves@redhat.com
Mon Dec 4 15:55:00 GMT 2017


On 12/01/2017 04:56 PM, Tom Tromey wrote:
>>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
> 
> Pedro> I wonder whether gdb.base/commands.exp is a better home for this.
> 
> That file has some tests of "commands" but also is a grab-bag of testing
> random commands.  I don't think the name specifically has to do with the
> "commands" command; so unless you feel strongly about it, I'll just
> leave it in break.exp.

Right, I wasn't thinking about the "commands" command specifically -- 
I think that testcase is more about the support for user-defined
commands / scripting than about random commands, and there are
some tests in there about breakpoint commands.

But really I don't feel strongly about it at all.  break.exp is fine.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list