| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
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).
|
|
|
|
| |
before sending ^C.
|
|
|
|
|
|
| |
* gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
non-zero if control_c fails. Terminate the test on failure,
rather than wait for 12 more tests to time out.
|
|
|
|
|
|
| |
* gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
Don't require that the main thread and the manager thread are the
first in the list.
|
|
|
|
|
| |
* gdb.threads/pthreads.exp (test_startup): Relax test for thread
debugging. If test fails, issue an "unsupported" not a "fail".
|
|
|
|
|
|
| |
* gdb.threads/pthreads.exp (all_threads_running): Add an explicit
test for (full_coverage == 0). This makes the test run faster,
and prevents dejagnu getting out of step.
|
|
|
|
|
| |
generated by GDB when it doesn't understand how to debug threads
on the target system.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change to rely on PIDGET etc.
* config/i386/nm-i386sol2.h (TARGET_HAS_WATCHPOINTS,
TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT,
STOPPED_BY_WATCHPOINT, target_[insert/remove]_watchpoint):
define. Allow target to use procfs hardware watchpoints.
* config/sparc/nm-sun4sol2.h: ditto.
* config/i386/tm-i386sol2.h (PIDGET, TIDGET, MERGEPID): modify
definitions to use 16 bits for the pid, 15 bits for the tid, and
1 bit for the flag.
* config/sparc/tm-sun4sol2.h: ditto.
(SOFTWARE_SINGLE_STEP, SOFTWARE_SINGLE_STEP_P): undefine.
* testsuite/gdb.threads/pthreads.exp (all_threads_running): Allow
for more than 15 thread increments.
|
| |
|
| |
|
| |
|
| |
|
|
|