Age | Commit message (Collapse) | Author | Files | Lines |
|
* gdb.threads/killed.c: Include <stdlib.h>.
* gdb.threads/pthreads.c: Likewise.
|
|
* gdb.threads/killed.c: Add copyright notice.
|
|
* gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
files.
|
|
* gdb.threads/thread_check.exp: New testcase.
* gdb.threads/thread_check.c: New testcase.
|
|
|
|
Fix PR testsuite/1735.
* gdb.threads/schedlock.c (thread_function): Add a cast
to suppress a gcc warning.
* gdb.threads/thread-specific.c (thread_function): Likewise.
|
|
* gdb.threads/schedlock.c: Add copyright notice.
|
|
* gdb.threads/watchthreads.exp: New test for threaded watchpoints.
|
|
* gdb.threads/pthreads.exp: Update copyright years.
(check_control_c): Change asynchronous 'after' to synchronous.
|
|
Fix PR gdb/1636.
* gdb.threads/manythreads.exp: Change asynchronous 'after'
calls to synchronous.
|
|
* gdb.threads/pthread_cond_wait.exp: New testcase.
|
|
* gdb.threads/manythreads.c: Reduce thread stack size.
|
|
* gdb.threads/manythreads.c: Add copyright notice.
|
|
Daniel Jacobowitz <drow@mvista.com>
* gdb.threads/manythreads.c: New testcase.
* gdb.threads/manythreads.exp: Ditto.
|
|
found.
|
|
2004-02-01 Fred Fish <fnf@redhat.com>
* gdb.base/dump.exp: Use runto_main instead of "runto main".
* gdb.base/finish.exp: Ditto.
* gdb.base/gcore.exp: Ditto.
* gdb.base/huge.exp: Ditto.
* gdb.base/info-proc.exp: Ditto.
* gdb.base/return2.exp: Ditto.
* gdb.threads/gcore-thread.exp: Ditto.
|
|
|
|
* gdb.threads/threads-specific.exp: New test script.
* lib/gdb.exp (gdb_test_multiple): Allow user patterns access
to expect_out.
|
|
* gdb.threads/gcore-thread.exp: Prefix name of binary with
test specific name.
* gdb.mi/gdb669.exp: Ditto.
* gdb.mi/mi-pthreads.exp: Ditto.
* gdb.mi/mi1-pthreads.exp: Ditto.
* gdb.mi/mi2-pthreads.exp: Ditto.
|
|
* gdb.threads/pthreads.c: Add copyright notice.
|
|
|
|
create a core file.
* gdb.threads/gcore-thread.exp: Likewise.
|
|
* gdb.threads/switch-threads.c: New source file.
|
|
* gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
gdb.trace/save-trace.exp: Make sure that full pathnames are
escaped correctly.
|
|
* configure.in: Don't generate config.h from config.hin.
* configure: Regenerate.
* config.hin: Remove file.
* gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
* gdb.threads/pthreads.c: Ditto.
|
|
* gdb.threads/tls.c (spin): Check errno only if sem_wait
actually failed.
(do_pass): Likewise.
* gdb.threads/tls.exp: Always initialize no_of_threads.
|
|
pattern.
* gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
* gdb.threads/tls.exp: Recognize one case of the host library not
supporting TLS.
|
|
* gdb.threads/tls.exp :Add kfail for 'info address' case.
|
|
* gdb.threads/tls.c : New file.
* gdb.threads/tls.exp : New file.
* gdb.threads/tls-main.c : New file.
* gdb.threads/tls-shared.c : New file.
* gdb.threads/tls-shared.exp : New file.
|
|
gdb/1265.
|
|
Roland McGrath <roland@redhat.com>
* gdb.threads/linux-dp.exp: Account for fact that in nptl model
there is no manager thread.
|
|
* gdb.threads/schedlock.exp: Remove assumption that all threads
will run in a particular small time slice. Also ensure we break
in one of the child threads rather than the main thread.
|
|
* gdb.threads/schedlock.c: Change type of thread function argument
to long, to avoid warnings on 64-bit platforms.
|
|
* gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
match on sourcefile name, instead of directory name.
|
|
|
|
(subdirs, clean, distclean): Use it.
* gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
regenerating Makefile, since it is generated from the top level.
* gdb.asm/Makefile.in: Likewise.
* gdb.base/Makefile.in: Likewise.
* gdb.c++/Makefile.in: Likewise.
* gdb.disasm/Makefile.in: Likewise.
* gdb.java/Makefile.in: Likewise.
* gdb.mi/Makefile.in: Likewise.
* gdb.threads/Makefile.in: Likewise.
* gdb.trace/Makefile.in: Likewise.
|
|
* lib/gdb.exp (gdb_compile): Handle "quiet" option.
(gdb_compile_pthreads): Pass "quiet" to gdb_compile.
* gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
instead of calling gdb_suppress_entire_file.
* gdb.threads/print-threads.exp: Likewise.
* gdb.threads/schedlock.exp: Likewise.
* gdb.threads/killed.exp: Return instead of calling
gdb_suppress_entire_file.
* gdb.threads/linux-dp.exp: Likewise.
* gdb.threads/pthreads.exp: Likewise.
|
|
AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
aforementioned directories in the AC_OUPUT call.
* config.hin: New file.
* gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
gdb.threads/killed.exp, gdb.threads/print-threads.exp,
gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
pass -I$objdir instead of -I$objdir/$subdir in compilation.
* gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
gdb.threads/configure.in, gdb.threads/configure,
gdb.threads/config.in, gdb.trace/configure.in,
gdb.trace/configure: Removed.
|
|
|
|
|
|
|
|
code into a function in lib/gdb.exp, and call that from here.
* lib/gdb.exp (gdb_compile_pthreads): New function.
|
|
* gdb.threads/print-threads.exp: New file.
* gdb.threads/schedlock.c: New file.
* gdb.threads/schedlock.exp: New file.
|
|
* gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
|
|
Fix PR gdb/378.
|
|
* gdb.threads/pthreads.c (thread1): Add a return statement.
(thread2): Likewise.
(foo): Likewise.
|
|
* gdb.threads/linux-dp.c (philosopher): Add a return statement
to placate gcc.
|
|
* gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
Allow a start function above main.
* gdb.threads/linux-dp.exp: Fix copyright date.
|
|
* gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
(check_philosopher_stack): Check for manager thread before checking
for a just-starting thread.
|
|
* gdb.base/gcore.exp: New test for generate-core-file command.
* gdb.base/gcore.c: Testcase for above.
* gdb.threads/gcore-thread.exp: New test for gcore (threaded).
|