public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* [Patch] linuxthreads_db in 2.2 broken
@ 2000-01-20  1:44 Andreas Jaeger
  0 siblings, 0 replies; only message in thread
From: Andreas Jaeger @ 2000-01-20  1:44 UTC (permalink / raw)
  To: libc-hacker

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-01-20  1:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-20  1:44 [Patch] linuxthreads_db in 2.2 broken Andreas Jaeger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).