[Bug testsuite/33403] [gdb/testsuite] Normalize tcl

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Thu Sep 11 16:31:38 GMT 2025


https://sourceware.org/bugzilla/show_bug.cgi?id=33403

--- Comment #5 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom de Vries <vries@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4c99cc54233d97d712c4a78810ba0ff0850ec3f8

commit 4c99cc54233d97d712c4a78810ba0ff0850ec3f8
Author: Tom de Vries <tdevries@suse.de>
Date:   Thu Sep 11 18:31:37 2025 +0200

    [gdb/testsuite, tclint] Fix unrecognized argument in
gdb.trace/mi-traceframe-changed.exp

    When running tclint on gdb.trace/mi-traceframe-changed.exp, I get:
    ...
    $ tclint gdb.trace/mi-traceframe-changed.exp
    $exp:94:1: unrecognized argument for append: -1 [command-args]
    $exp:95:1: unrecognized argument for append: -1 [command-args]
    ...
    for these lines:
    ...
       94  append testfile -1
       95  append binfile -1
    ...

    This seems harmless to me, but since tclint complains, fix this by quoting
the
    -1 arguments.

    Tested by rerunning tclint.

    Approved-By: Simon Marchi <simon.marchi@efficios.com>

    PR testsuite/33403
    Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33403

--- Comment #6 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom de Vries <vries@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2517917f0c79098df416d87d62a342162e0ef625

commit 2517917f0c79098df416d87d62a342162e0ef625
Author: Tom de Vries <tdevries@suse.de>
Date:   Thu Sep 11 18:31:37 2025 +0200

    [gdb/testsuite, tclint] Fix syntax error in gdb.base/dtrace-probe.exp

    When running tclint with gdb.base/dtrace-probe.exp I get:
    ...
    $ tclint gdb.base/dtrace-probe.exp
    $exp:67:45: syntax error: expected newline or semicolon, got ]
    ...
    due to these lines:
    ...
        67      runto "-probe-dtrace test:two-locations"]
        68      runto "-probe-dtrace test:two-locations"]
    ...

    Fix this by dropping the trailing ']'.

    Tested by rerunning tclint.

    Approved-By: Simon Marchi <simon.marchi@efficios.com>

    PR testsuite/33403
    Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33403

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list