Mail Archives: cygwin/2005/01/22/23:45:34
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 -