]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb] Rewrite strings in producer_parsing_tests
authorTom de Vries <tdevries@suse.de>
Mon, 17 Nov 2025 16:33:04 +0000 (17:33 +0100)
committerTom de Vries <tdevries@suse.de>
Mon, 17 Nov 2025 16:33:04 +0000 (17:33 +0100)
commit351a133779b998b515fa88321ff25dc67765a4b1
treee3b7074bd277a0841815560d0440e1ad14c703d4
parent856364fcad1c04c791c887f61b273fa46915b572
[gdb] Rewrite strings in producer_parsing_tests

I noticed some odd-looking strings in producer_parsing_tests, like this one:
...
    static const char extern_f_14_0[] = "\
Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on \
Intel(R) 64, \
Version 14.0.1.074 Build 20130716";
...

Rewrite this in a more regular style:
...
    static const char extern_f_14_0[]
      = ("Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on"
 " Intel(R) 64, Version 14.0.1.074 Build 20130716");
...

Tested on x86_64-linux.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/producer.c