diff -Naur glibc-2.11.orig/nptl_db/td_thr_getfpregs.c glibc-2.11/nptl_db/td_thr_getfpregs.c
--- glibc-2.11.orig/nptl_db/td_thr_getfpregs.c	2009-10-30 12:17:08.000000000 -0500
+++ glibc-2.11/nptl_db/td_thr_getfpregs.c	2010-01-04 10:26:11.000000000 -0500
@@ -42,7 +42,7 @@
 
   /* If the thread already terminated we return all zeroes.  */
   if (((int) (uintptr_t) cancelhandling) & TERMINATED_BITMASK)
-    memset (regset, '\0', sizeof (*regset));
+    memset (regset, '\0', sizeof (regset));
   /* Otherwise get the register content through the callback.  */
   else
     {
