delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/07/07/11:13:36

From: Stan Shebs <shebs AT andros DOT cygnus DOT com>
Subject: Re: Problems debugging threads with gdb/b18
07 Jul 1997 11:13:36 -0700 :
Distribution: cygnus
Message-ID: <xdpvsuvige.fsf@andros.cygnus.com>
References: <c=DE%a=_%p=biw_GmbH%l=MOZART-970707151712Z-8453 DOT cygnus DOT gnu-win32 AT mozart DOT biw-ag DOT de>
X-Newsreader: Gnus v5.3/Emacs 19.34

Thomas DOT Mittelstaedt AT WEINSTADT DOT biw-ag DOT de ("Mittelstaedt, Thomas") writes:

> I am using the Win32 API functions CreateThread, Sleep, ResumeThread,
> etc to work with threads. While fprintf/fflush output shows that threads
> get created and detached, I do not get any information in gdb when I
> type "info threads".
> 
> Do I have to link with special debug libraries? Or what's the trick?

GDB needs OS-specific support for threads, and b18 doesn't have it.
Michael Snyder (msnyder AT cygnus DOT com) wrote this when he was at NeXT,
but hasn't incorporated into Cygnus GDB sources yet.  Everybody who
wants him to add this should send him mail saying "pretty please".

							Stan Shebs
							Cygnus Solutions
							shebs AT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019