Commit Graph

14 Commits

Author SHA1 Message Date
Roland McGrath
8cfb7315ea * td_thr_event_getmsg.c (td_thr_event_getmsg): Splice the thread out
of the ->nextevent linkage.

	* td_ta_event_getmsg.c (td_ta_event_getmsg): Runtime error instead of
	assert for reading TD_EVENT_NONE.  Clear the event buffer after
	reading it.  Add a sanity check for foo->nextevent = foo.
2003-03-18 21:13:51 +00:00
Roland McGrath
bfeafbf7f0 * thread_db.h (td_err_e): Add TD_NOTLS and TD_TLSDEFER.
(td_thr_tlsbase): Declare it.
	* td_thr_tlsbase.c: New file.
	* Makefile (libthread_db-routines): Add it.
	* Versions (libthread_db: GLIBC_2.3.3): New set, add td_thr_tlsbase.
	* td_thr_tls_get_addr.c (td_thr_tls_get_addr): Use td_thr_tlsbase.
2003-03-15 23:55:47 +00:00
Roland McGrath
2e49caba0e * init.c: Fix typo "#eli" for "#else". 2003-03-14 23:16:51 +00:00
Roland McGrath
ce2290cba4 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Correct system
call names for pread and pwrite.
2003-03-10 19:21:23 +00:00
Ulrich Drepper
f73acc206a Update.
2003-03-10  Ulrich Drepper  <drepper@redhat.com>

	* td_ta_thr_iter.c: Update for TCB change.
	* td_thr_tls_get_addr.c: Likewise.
	* td_thr_validate.c: Likewise.
2003-03-10 19:00:37 +00:00
Ulrich Drepper
1c82b97f96 Update.
* tst-mutex5.c (do_test): Add more timedlock tests.
2003-02-15 22:32:50 +00:00
Ulrich Drepper
b5facfdac0 Update.
2003-01-06  Philip Blundell  <philb@gnu.org>

	* sysdeps/unix/arm/sysdep.S (syscall_error): Optimise a little.
	[__LIBC_REENTRANT]: Unify PIC and non-PIC cases.

	* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Remove .type
	directive.
	(PSEUDO_RET): Use SYSCALL_ERROR in place of __syscall_error.
	(SYSCALL_ERROR): New.
	(SYSCALL_ERROR_HANDLER) [NOT_IN_libc]: Provide local copy of error
	handling code.
	(INTERNAL_SYSCALL): Define.
	(INLINE_SYSCALL): Use it.
	(INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Define.
	* sysdeps/unix/sysv/linux/arm/socket.S (__socket): Use
	SYSCALL_ERROR in place of __syscall_error.

2003-01-07  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/ia64/bits/byteswap.h [__GNUC__ >= 2] (__bswap_16,
	__bswap_32, __bswap_64): Put x into temporary variable
	to avoid warnings.
	[!__GNUC__] (__bswap_16, __bswap_32, __bswap_64): Change into static
	(inline) functions.
	* sysdeps/s390/bits/byteswap.h [__GNUC__ >= 2] (__bswap_16,
	__bswap_32, __bswap_64): Put x into temporary variable
	to avoid warnings.
	[!__GNUC__] (__bswap_16, __bswap_32, __bswap_64): Change into static
	(inline) functions.
	* sysdeps/i386/bits/byteswap.h [!__GNUC__] (__bswap_16, __bswap_32):
	Likewise.

2003-01-07  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/alpha/adjtime.c (ntp_adjtime): New weak
	alias.
2003-01-08 00:22:00 +00:00
Ulrich Drepper
73e9ae887f Update.
2003-01-04  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile: New file.
2003-01-05 10:55:15 +00:00
Roland McGrath
f02392ec3c * td_thr_setgregs.c (td_thr_setgregs): *_BIT -> *_BITMASK
* td_thr_setfpregs.c (td_thr_setfpregs): Likewise.
	* td_thr_get_info.c (td_thr_get_info): Likewise.
	* td_thr_getgregs.c (td_thr_getgregs): Likewise.
	* td_thr_getfpregs.c (td_thr_getfpregs): Likewise.
	* td_ta_thr_iter.c (iterate_thread_list): Likewise.
2003-01-03 23:15:04 +00:00
Roland McGrath
a305fd6ad8 * td_ta_thr_iter.c (iterate_thread_list): Handle special case of
uninitialized __stack_user (zeros), hard-wire just the main thread.

	* td_thr_get_info.c (td_thr_get_info): Fix ti_lid initialization.
2002-12-13 09:46:02 +00:00
Roland McGrath
58a851f108 * td_ta_event_getmsg.c (td_ta_event_getmsg): Write the NEXT pointer
into the inferior's __pthread_last_event variable, not a word from
	an inferior address used in the parent.  Pass the address of a
	null word to ps_pdwrite, not a null pointer.
2002-12-09 10:49:37 +00:00
Roland McGrath
ac110745dc * td_thr_get_info.c (td_thr_get_info): ti_tid is pthread_t, not a PID.
* thread_db.h (td_thrinfo_t): Comment fix.

	* td_ta_map_lwp2thr.c: Moved to ../nptl/sysdeps/i386/.
2002-12-05 03:45:55 +00:00
Ulrich Drepper
abbd6175b4 Update.
2002-12-04  Ulrich Drepper  <drepper@redhat.com>

	* td_ta_thr_iter.c (iterate_thread_list): At end of iteration read
	pointer to the next element from inferior.
2002-12-04 23:42:21 +00:00
Roland McGrath
fa9a4ff0ba * sysdeps/hppa/fpu/fesetround.c (fesetround): Use ~FE_DOWNWARD so both
bits of RM are cleared.
2002-12-03 02:50:58 +00:00