aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads_db
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-01-20 08:02:49 +0000
committerUlrich Drepper <drepper@redhat.com>2000-01-20 08:02:49 +0000
commit16ac79ca946f05fa5bf25b6ae99f8ae5487f7503 (patch)
treeb34b6a71794724ddef7eff4b25d7f50f0944b5bd /linuxthreads_db
parentee00109cd058fe28fec37f558dc673c9b3adc9db (diff)
downloadglibc-16ac79ca946f05fa5bf25b6ae99f8ae5487f7503.zip
glibc-16ac79ca946f05fa5bf25b6ae99f8ae5487f7503.tar.gz
glibc-16ac79ca946f05fa5bf25b6ae99f8ae5487f7503.tar.bz2
Update.
* sysdeps/ieee754/ldbl-96/s_modfl.c: Correct handling of arguments with exponent >31 and < 63 (PR libc/1548).
Diffstat (limited to 'linuxthreads_db')
-rw-r--r--linuxthreads_db/ChangeLog4
-rw-r--r--linuxthreads_db/td_thr_getgregs.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/linuxthreads_db/ChangeLog b/linuxthreads_db/ChangeLog
index feb8b82..72f8fc4 100644
--- a/linuxthreads_db/ChangeLog
+++ b/linuxthreads_db/ChangeLog
@@ -1,3 +1,7 @@
+2000-01-19 Ulrich Drepper <drepper@cygnus.com>
+
+ * td_thr_getgregs.c: Correct size parameter of memset call.
+
1999-12-02 Ulrich Drepper <drepper@cygnus.com>
* proc_service.h: Fix typos in last added declaractions.
diff --git a/linuxthreads_db/td_thr_getgregs.c b/linuxthreads_db/td_thr_getgregs.c
index 549c7d8..c485686 100644
--- a/linuxthreads_db/td_thr_getgregs.c
+++ b/linuxthreads_db/td_thr_getgregs.c
@@ -1,5 +1,5 @@
/* Get a thread's general register set.
- Copyright (C) 1999 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
@@ -35,7 +35,7 @@ td_thr_getgregs (const td_thrhandle_t *th, prgregset_t gregs)
/* If the thread already terminated we return all zeroes. */
if (pds.p_terminated)
- memset (gregs, '\0', sizeof (gregs));
+ memset (gregs, '\0', sizeof (prgrepset_t));
/* Otherwise get the register content through the callback. */
else if (ps_lgetregs (th->th_ta_p->ph, pds.p_pid, gregs) != PS_OK)
return TD_ERR;