delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/18/13:57:35

From: gwpilz AT pobox DOT com (Gilbert W. Pilz Jr)
Subject: B19: gdb on NT - cannot hit breakpoints on other threads
18 Apr 1998 13:57:35 -0700 :
Message-ID: <3.0.32.19980418083247.00ee5730.cygnus.gnu-win32@mail.scruznet.com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Has anyone else seen this problem ?

I'm trying to debug a simple program that creates multiple threads using
CreateThread(). I find that I can set breakpoints on the starting routines
of the sub-threads, but that when I hit them I get a SIGTRAP instead of
normal breakpoint behavior. Attempting to continue after the SIGTRAP always
results in a segmentation violation.

Is this a problem with gdb or something I'm doing wrong ?




Gilbert W. Pilz Jr.
Systems Software Consultant
gwpilz AT pobox DOT com
www.scruz.net/~gwpilz/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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