about summary refs log tree commit diff
path: root/src/liballoc/alloc
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-04-21 21:48:54 -0600
committerTom Tromey <tromey@adacore.com>2020-04-22 07:54:33 -0600
commit37097fb4f7cc00ca54b5238bbc4f4af92540aa28 (patch)
tree761c3f8491f126ef922c0d242a0c2412c7404802 /src/liballoc/alloc
parent45d050cde277b22a755847338f2acc2c7b834141 (diff)
downloadrust-37097fb4f7cc00ca54b5238bbc4f4af92540aa28.tar.gz
rust-37097fb4f7cc00ca54b5238bbc4f4af92540aa28.zip
Let compiletest recognize gdb 10.x
git gdb has moved to version 10.  My build prints this as its
--version:

    GNU gdb (GDB) 10.0.50.20200420-git

Unfortunately this conflicts with this comment in compiletest:

    // We limit major to 1 digit, otherwise, on openSUSE, we parse the openSUSE version

This patch changes the version parsing to follow the GNU coding
standard, which accounts for both the openSUSE case as well as
handling gdb 10.

My debuginfo test run now says:

NOTE: compiletest thinks it is using GDB with native rust support
NOTE: compiletest thinks it is using GDB version 10000050

... where previously it failed to find that gdb 10 had rust support.
Diffstat (limited to 'src/liballoc/alloc')
0 files changed, 0 insertions, 0 deletions