Issue 1:
error: line not found in debugger output: static void [...]main();
command: gdb -quiet -batch -nx -command=x86_64-unknown-linux-gnu/test/debug-info/limited-debuginfo.debugger.script x86_64-unknown-linux-gnu/test/debug-info/limited-debuginfo.stage2-x86_64-unknown-linux-gnu
stdout:
------------------------------------------
All defined functions:

File /home/cmr/hacking/rust/src/test/debug-info/limited-debuginfo.rs:
static void limited-debuginfo::main(void);
static void limited-debuginfo::some_function(void);
static void limited-debuginfo::some_other_function(void);
static void limited-debuginfo::zzz(void);

I think this might be because my terminal is too wide, or perhaps gdb version differences?

cc @michaelwoerister

Issue 2:
Apparently new versions of gdb (I'm seeing this with 7.7) changed the output of of info functions.

E.g. instead of static void limited-debuginfo::main(); it now outputs static void limited-debuginfo::main(void);.

Output is as follows:

---- [debug-info] debug-info/limited-debuginfo.rs stdout ----

error: line not found in debugger output: static void limited-debuginfo::main();
command: gdb -quiet -batch -nx -command=x86_64-unknown-linux-gnu/test/debug-info/limited-debuginfo.debugger.script x86_64-unknown-linux-gnu/test/debug-info/limited-debuginfo.stage2-x86_64-unknown-linux-gnu
stdout:
------------------------------------------
All defined functions:

File src/test/debug-info/limited-debuginfo.rs:
static void limited-debuginfo::main(void);
static void limited-debuginfo::some_function(void);
static void limited-debuginfo::some_other_function(void);
static void limited-debuginfo::zzz(void);

Non-debugging symbols:
0x0000000000400880 _init
0x00000000004008b0 uvio::new_loop::h616534f7e6ab76adGIa::v0.10.pre@plt
0x00000000004008c0 __libc_start_main@plt
0x00000000004008d0 __gmon_start__@plt
0x00000000004008e0 rust_stack_exhausted@plt
0x00000000004008f0 lang_start::hf9e7230acaab0452Bwc::v0.10.pre@plt
0x0000000000400900 _start
0x0000000000400930 deregister_tm_clones
0x0000000000400960 register_tm_clones
0x00000000004009a0 __do_global_dtors_aux
0x00000000004009c0 frame_dummy
0x0000000000400b70 __libc_csu_init
0x0000000000400be0 __libc_csu_fini
0x0000000000400be4 __morestack
0x0000000000400bf4 _fini
Breakpoint 1 at 0x400b00: file src/test/debug-info/limited-debuginfo.rs, line 44.
static void limited-debuginfo::zzz(void);
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff7f56700 (LWP 5320)]
[New Thread 0x7ffff625c700 (LWP 5323)]
[New Thread 0x7ffff615b700 (LWP 5324)]
[New Thread 0x7ffff605a700 (LWP 5325)]
[New Thread 0x7ffff5f59700 (LWP 5326)]
[New Thread 0x7ffff5e58700 (LWP 5327)]
[New Thread 0x7ffff5d57700 (LWP 5328)]
[New Thread 0x7ffff5c56700 (LWP 5329)]
[Switching to Thread 0x7ffff7f56700 (LWP 5320)]

Breakpoint 1, limited-debuginfo::zzz () at src/test/debug-info/limited-debuginfo.rs:44
44 fn zzz() {()}
0x0000000000400af1 in limited-debuginfo::some_function () at src/test/debug-info/limited-debuginfo.rs:49
49 zzz();
No locals.
[Thread 0x7ffff7f56700 (LWP 5320) exited]
[Thread 0x7ffff605a700 (LWP 5325) exited]
[Thread 0x7ffff615b700 (LWP 5324) exited]
[Thread 0x7ffff5c56700 (LWP 5329) exited]
[Thread 0x7ffff5d57700 (LWP 5328) exited]
[Thread 0x7ffff5e58700 (LWP 5327) exited]
[Thread 0x7ffff625c700 (LWP 5323) exited]
[Thread 0x7ffff5f59700 (LWP 5326) exited]
[Inferior 1 (process 5280) exited normally]

------------------------------------------
stderr:
------------------------------------------
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?

------------------------------------------

task '[debug-info] debug-info/limited-debuginfo.rs' failed at 'explicit failure', /home/florian/devel/rust/src/compiletest/runtest.rs:950