* sol-thread.c (GET_LWP, GET_THREAD, BUILD_LWP, BUILD_THREAD):
authorNicholas Duffek <nsd@redhat.com>
Fri, 7 Apr 2000 01:14:10 +0000 (01:14 +0000)
committerNicholas Duffek <nsd@redhat.com>
Fri, 7 Apr 2000 01:14:10 +0000 (01:14 +0000)
commit2f09097b734af8840d2141a26a53b9c67e67fcf2
treec6fd0a041816d5bfb6211d1fde18788f1e51d223
parent34cbe64ecf7ae8c7e029e4af582d98a7910a3bcf
* sol-thread.c (GET_LWP, GET_THREAD, BUILD_LWP, BUILD_THREAD):
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.
gdb/ChangeLog
gdb/config/i386/nm-i386sol2.h
gdb/config/i386/tm-i386sol2.h
gdb/config/sparc/nm-sun4sol2.h
gdb/config/sparc/tm-sun4sol2.h
gdb/sol-thread.c
gdb/testsuite/gdb.threads/pthreads.exp