This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[Patch] linuxthreads_db in 2.2 broken



On ix86 I jost got:
td_thr_getgregs.c: In function `td_thr_getgregs':
td_thr_getgregs.c:38: `prgrepset_t' undeclared (first use in this function)
td_thr_getgregs.c:38: (Each undeclared identifier is reported only once
td_thr_getgregs.c:38: for each function it appears in.)

Uli, please apply the appended patch.

Andreas

2000-01-20  Andreas Jaeger  <aj@suse.de>

	* td_thr_getgregs.c (td_thr_getgregs): Fix typo.

============================================================
Index: linuxthreads_db/td_thr_getgregs.c
--- linuxthreads_db/td_thr_getgregs.c	2000/01/20 07:05:58	1.5
+++ linuxthreads_db/td_thr_getgregs.c	2000/01/20 09:43:52
@@ -35,7 +35,7 @@
 
   /* If the thread already terminated we return all zeroes.  */
   if (pds.p_terminated)
-    memset (gregs, '\0', sizeof (prgrepset_t));
+    memset (gregs, '\0', sizeof (prgregset_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;

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]