https://issues.dlang.org/show_bug.cgi?id=21874
Issue ID: 21874 Summary: The test suite fails with most recent GDB versions Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Keywords: TestSuite Severity: normal Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: b2.t...@gmx.com [basile@pc dmd]$ gdb --version GNU gdb (GDB) Fedora 10.1-4.fc33 Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ## output example --- ... runnable/gdb1.d -g -fPIC ()============================== Test 'runnable/gdb1.d' failed. The logged output: /home/basile/dev/repos/dlang/dmd/generated/linux/release/64/dmd -conf= -m64 -Irunnable -g -fPIC -odtest_results/runnable -oftest_results/runnable/gdb1_0 runnable/gdb1.d gdb test_results/runnable/gdb1_0 --batch -x test_results/runnable/gdb1_0.gdb Breakpoint 1 at 0x40115b: file /home/basile/dev/repos/dlang/dmd/test/../../druntime/import/core/internal/entrypoint.d, line 29. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Breakpoint 1, main (argc=3, argv=0x7ffc691f3528) at /home/basile/dev/repos/dlang/dmd/test/../../druntime/import/core/internal/entrypoint.d:29 29 return _d_run_main(argc, argv, &_Dmain); RESULT=test_results/runnable/gdb1_0.gdb:5: Error in sourced command file: No symbol "args" in current context. ============================== Test 'runnable/gdb1.d' failed: Expected rc == 0, but exited with rc == 1 --- --