[RFC][gdb/testsuite] Remove breakpoint command in gdb.base/ui-redirect.exp

Jan Kratochvil jan.kratochvil@redhat.com
Wed Sep 4 11:49:00 GMT 2019


On Tue, 03 Sep 2019 19:43:44 +0200, Tom de Vries wrote:
> I noticed a bit in gdb.base/ui-redirect.exp that sets a breakpoint
> command on main, but then due to runto_main, the break point is deleted:
...
> In the original commit ( submission here
> https://sourceware.org/ml/gdb-patches/2010-09/msg00120.html ) there was
> no runto_main, and the breakpoint command was not triggered either.
> 
> Is this some artefact, and can it be removed, or is it actually testing
> something related to redirection?

It looks to me the patch which added the "runto_main" part:

commit ca1285d17534cff3041c07ac7841288e1b3ba19c
Author: Alan Hayward <alan.hayward@arm.com>
Date:   Fri May 17 14:15:01 2019 +0100
    Add debug redirect option

disabled the regression testing.

"runto_main" should be removed otherwise the testcase does not test anything
(or it just tests less).


Jan



More information about the Gdb-patches mailing list