* gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead of gdb_compile. Add another pattern to match android backtrace.
* gdb.threads/linux-dp.c (philosopher): Add a return statement to placate gcc.