delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/22/23:45:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <20050123044522.10359.qmail@web30907.mail.mud.yahoo.com>
Date: Sat, 22 Jan 2005 20:45:22 -0800 (PST)
From: Bill Priest <priestwilliaml AT yahoo DOT com>
Subject: SIGTRAP in /netrel/src/gdb-20041228-1/gdb/win32-nat.c:2038
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

This was with 1.5.12 also happens w/ latest snapshot.


How to reproduce.
compile any C program w/ -g (the latest snapshot
Aborts
                             even simple compiles.)
#include <stdio.h>

int main(void)
{
        printf("Hello World.\n");
        
        return 0;
}

gcc -o hello -g hello.c
 gdb ./hello.exe 
GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General
Public License, and you are
welcome to change it and/or distribute copies of it
under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show
warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) b main
Breakpoint 1 at 0x40107e: file hello.c, line 5.
(gdb) r
Starting program: /home/bpriest/hello.exe 

Breakpoint 1, main () at hello.c:5
5               printf("Hello World.\n");
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /home/bpriest/hello.exe 

error return
/netrel/src/gdb-20041228-1/gdb/win32-nat.c:2038 was 6

error return
/netrel/src/gdb-20041228-1/gdb/win32-nat.c:2038 was 6

error return
/netrel/src/gdb-20041228-1/gdb/win32-nat.c:2038 was 6

error return
/netrel/src/gdb-20041228-1/gdb/win32-nat.c:2038 was 6

error return
/netrel/src/gdb-20041228-1/gdb/win32-nat.c:2038 was 6
error return
/netrel/src/gdb-20041228-1/gdb/win32-nat.c:2038 was 6

error return
/netrel/src/gdb-20041228-1/gdb/win32-nat.c:2038 was 6

error return
/netrel/src/gdb-20041228-1/gdb/win32-nat.c:2038 was 6

error return
/netrel/src/gdb-20041228-1/gdb/win32-nat.c:2038 was 6

error return
/netrel/src/gdb-20041228-1/gdb/win32-nat.c:2038 was 6

error return
/netrel/src/gdb-20041228-1/gdb/win32-nat.c:2038 was 6

error return
/netrel/src/gdb-20041228-1/gdb/win32-nat.c:2038 was 6

Program received signal SIGTRAP, Trace/breakpoint
trap.
0x7c810867 in KERNEL32!CreateThread ()
   from /cygdrive/c/WINDOWS/system32/kernel32.dll
(gdb) 




		
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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