aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads
AgeCommit message (Collapse)AuthorFilesLines
2004-09-142004-09-14 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-2/+4
* gdb.threads/killed.c: Include <stdlib.h>. * gdb.threads/pthreads.c: Likewise.
2004-09-142004-09-14 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain1-0/+19
* gdb.threads/killed.c: Add copyright notice.
2004-09-012004-09-01 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-0/+168
* gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New files.
2004-08-31Added new testcases:Manoj Iyer2-0/+171
* gdb.threads/thread_check.exp: New testcase. * gdb.threads/thread_check.c: New testcase.
2004-08-27 * gdb.threads/bp_in_thread.exp: New testcase.Joel Brobecker1-0/+49
2004-08-272004-08-27 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-3/+3
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.
2004-08-262004-08-26 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain1-0/+19
* gdb.threads/schedlock.c: Add copyright notice.
2004-07-272004-07-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston1-0/+125
* gdb.threads/watchthreads.exp: New test for threaded watchpoints.
2004-06-042004-06-04 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain1-3/+4
* gdb.threads/pthreads.exp: Update copyright years. (check_control_c): Change asynchronous 'after' to synchronous.
2004-06-032004-06-02 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain1-2/+4
Fix PR gdb/1636. * gdb.threads/manythreads.exp: Change asynchronous 'after' calls to synchronous.
2004-05-19 * gdb.threads/pthread_cond_wait.c: New file.Joel Brobecker2-0/+149
* gdb.threads/pthread_cond_wait.exp: New testcase.
2004-04-232004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>Jeff Johnston1-0/+2
* gdb.threads/manythreads.c: Reduce thread stack size.
2004-04-232004-04-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston1-0/+24
* gdb.threads/manythreads.c: Add copyright notice.
2004-04-222004-04-22 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+167
Daniel Jacobowitz <drow@mvista.com> * gdb.threads/manythreads.c: New testcase. * gdb.threads/manythreads.exp: Ditto.
2004-02-09 * gdb.threads/thread-specific.exp: Stop early if no threads areDaniel Jacobowitz1-0/+5
found.
2004-02-02Reviewed and approved by drow@mvista.com:Fred Fish1-1/+1
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.
2004-02-02 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.Daniel Jacobowitz1-1/+1
2004-02-01 * gdb.threads/thread-specific.c: New file.Daniel Jacobowitz2-0/+176
* gdb.threads/threads-specific.exp: New test script. * lib/gdb.exp (gdb_test_multiple): Allow user patterns access to expect_out.
2004-01-132004-01-13 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-2/+2
* 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.
2003-10-232003-10-22 Michael Chastain <mec@shout.net>Michael Chastain1-0/+24
* gdb.threads/pthreads.c: Add copyright notice.
2003-10-13 * gdb.threads/killed.exp: Use gdb_run_cmd.Daniel Jacobowitz1-1/+9
2003-10-13 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can'tDaniel Jacobowitz1-3/+19
create a core file. * gdb.threads/gcore-thread.exp: Likewise.
2003-10-09 * gdb.threads/switch-threads.exp: New test.Daniel Jacobowitz2-0/+99
* gdb.threads/switch-threads.c: New source file.
2003-08-072003-08-07 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-1/+2
* 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.
2003-08-072003-08-07 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-23/+0
* 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.
2003-07-292003-07-29 Michael Chastain <mec@shout.net>Michael Chastain2-34/+34
* 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.
2003-07-28 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAILDaniel Jacobowitz3-2/+8
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.
2003-07-232003-07-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-0/+1
* gdb.threads/tls.exp :Add kfail for 'info address' case.
2003-07-222003-07-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni5-0/+635
* 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.
2003-06-29 * gdb.threads/print-threads.exp (test_all_threads): Add kfail forDaniel Jacobowitz1-0/+7
gdb/1265.
2003-05-142003-05-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston1-4/+32
Roland McGrath <roland@redhat.com> * gdb.threads/linux-dp.exp: Account for fact that in nptl model there is no manager thread.
2003-05-082003-05-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston1-5/+9
* 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.
2003-04-152003-04-14 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-3/+6
* gdb.threads/schedlock.c: Change type of thread function argument to long, to avoid warnings on 64-bit platforms.
2003-04-112003-04-11 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-2/+2
* gdb.threads/pthreads.exp (test_startup): When setting a breakpoint match on sourcefile name, instead of directory name.
2003-01-14 * gdb.threads/killed.exp: Use KFAIL for gdb/568.Daniel Jacobowitz1-2/+1
2003-01-09 * Makefile.in (ALL_SUBDIRS): New variable.Daniel Jacobowitz1-20/+2
(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.
2003-01-04 Fix PR gdb/844Daniel Jacobowitz6-102/+9
* 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.
2003-01-04* configure.in: Call AC_CONFIG_HEADER. Don't callMark Kettenis8-1129/+9
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.
2002-10-23 * gdb.threads/schedlock.c (args): Make unsigned.Daniel Jacobowitz1-1/+1
2002-09-05* gdb.threads/killed.exp: Fix test failure message.Jim Blandy1-1/+1
2002-09-03* gdb.threads/killed.exp, gdb.threads/killed.c: New test.Jim Blandy2-0/+121
2002-08-29* gdb.threads/pthreads.exp: Move the portable thread compilationJim Blandy1-29/+3
code into a function in lib/gdb.exp, and call that from here. * lib/gdb.exp (gdb_compile_pthreads): New function.
2002-08-23 * gdb.threads/print-threads.c: New file.Daniel Jacobowitz4-0/+611
* gdb.threads/print-threads.exp: New file. * gdb.threads/schedlock.c: New file. * gdb.threads/schedlock.exp: New file.
2002-04-242002-04-24 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-1/+2
* gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2002-02-24s/Linux/.../Andrew Cagney1-1/+2
Fix PR gdb/378.
2002-02-242002-02-24 Michael Chastain <mec@shout.net>Michael Chastain1-1/+3
* gdb.threads/pthreads.c (thread1): Add a return statement. (thread2): Likewise. (foo): Likewise.
2002-02-242002-02-23 Michael Chastain <mec@shout.net>Michael Chastain1-0/+2
* gdb.threads/linux-dp.c (philosopher): Add a return statement to placate gcc.
2002-01-312002-01-30 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-1/+1
* gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling. Allow a start function above main. * gdb.threads/linux-dp.exp: Fix copyright date.
2002-01-312002-01-30 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-10/+10
* 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.
2002-01-092002-01-08 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+186
* 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).