Closed
Description
E.g. http://buildbot.rust-lang.org/builders/nightly-linux/builds/86 fails with
---- [debuginfo-gdb] debuginfo/gdb-pretty-struct-and-enums-pre-gdb-7-7.rs stdout ----
NOTE: compiletest thinks it is using GDB version 7.7
error: line not found in debugger output: $1 = RegularStruct = {the_first_field = 101, the_second_field = 102.5, the_third_field = false}
status: exit code: 0
command: gdb -quiet -batch -nx -command=x86_64-unknown-linux-gnu/test/debuginfo-gdb/gdb-pretty-struct-and-enums-pre-gdb-7-7.debugger.script
stdout:
------------------------------------------
GNU gdb (GDB) 7.7
Copyright (C) 2014 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. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Breakpoint 1 at 0x940: file /home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/obj/tmp/distcheck/rust-nightly/src/test/debuginfo/gdb-pretty-struct-and-enums-pre-gdb-7-7.rs, line 75.
static void gdb-pretty-struct-and-enums-pre-gdb-7-7::zzz(void);
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Breakpoint 1, gdb-pretty-struct-and-enums-pre-gdb-7-7::zzz () at /home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/obj/tmp/distcheck/rust-nightly/src/test/debuginfo/gdb-pretty-struct-and-enums-pre-gdb-7-7.rs:75
75 fn zzz() { () }
0x00007ffff7ffe8d7 in gdb-pretty-struct-and-enums-pre-gdb-7-7::main () at /home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/obj/tmp/distcheck/rust-nightly/src/test/debuginfo/gdb-pretty-struct-and-enums-pre-gdb-7-7.rs:72
72 zzz();
$1 = {the_first_field = 101, the_second_field = 102.5, the_third_field = false}
$2 = {<No data fields>}
$3 = CStyleEnumVar1
$4 = CStyleEnumVar2
$5 = CStyleEnumVar3
A debugging session is active.
Inferior 1 [process 17861] will be killed.
Quit anyway? (y or n) [answered Y; input not from terminal]
------------------------------------------
stderr:
------------------------------------------
------------------------------------------
task '[debuginfo-gdb] debuginfo/gdb-pretty-struct-and-enums-pre-gdb-7-7.rs' failed at 'explicit failure', /home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/obj/tmp/distcheck/rust-nightly/src/compiletest/runtest.rs:1415
it seems the $1
line doesn't quite match.