2013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
authorGary Benson <gary@redhat.com>
Tue, 4 Jun 2013 13:23:32 +0000 (13:23 +0000)
committerGary Benson <gary@redhat.com>
Tue, 4 Jun 2013 13:23:32 +0000 (13:23 +0000)
commita29a3fb7a350b70ec755b1964d2830094314dba8
tree3ecf57a2d1fb5000c36d5594dacd5cef81a9224b
parentf9e148520a52325c43e325984cd1cfea952b8ad8
2013-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
    Gary Benson  <gbenson@redhat.com>

* lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
* lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
to be set to "no" to indicate that no ld.so copy should be made.
* gdb.base/break-interp.exp (solib_bp): New constant.
(reach_1): Use the above instead of "_dl_debug_state".
(test_attach): Likewise.
(test_ld): Likewise.
* gdb.threads/dlopen-libpthread.exp: New file.
* gdb.threads/dlopen-libpthread.c: Likewise.
* gdb.threads/dlopen-libpthread-lib.c: Likewise.
* gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/break-interp.exp
gdb/testsuite/gdb.base/solib-corrupted.exp
gdb/testsuite/gdb.threads/dlopen-libpthread-lib.c [new file with mode: 0644]
gdb/testsuite/gdb.threads/dlopen-libpthread.c [new file with mode: 0644]
gdb/testsuite/gdb.threads/dlopen-libpthread.exp [new file with mode: 0644]
gdb/testsuite/lib/gdb.exp
gdb/testsuite/lib/prelink-support.exp