1.5.18-1: hang when stepping over g_thread_init

Mark Van Regenmorter mark.vr@sisa.samsung.com
Tue Nov 1 21:01:00 GMT 2005


I'm noticing that when I step over the function g_thread_init, the gdb
hangs.

I created a program to test the function g_thread_init which exhibited
the
same behavior.  I have included the program below.


Other information:

I did not see problem running cygwin 1.5.12-1 with glib2 2.4.8-1 and
gdb 20041228-2


Files:

/**********************
  START test.c
 **********************/
#include <stdio.h>
#include <glib.h>

int main(void)
{
  printf("Start\n");
  g_thread_init(NULL);
  printf("End\n");

  return (1);
}
/**********************
  END test.c
 **********************/


/**********************
  START Makefile
 **********************/
test : test.o
	gcc -O0 -ggdb3 -o test. test.o -lglib-2.0 -lgobject-2.0
-lgthread-2.0

test.o : test.c
	gcc -O0 -ggdb3 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -c test.c

.PHONY : clean
clean :
	-rm test.exe test.o
	
all : test

/********************** 
  END Makefile
 **********************/


Any thoughts/suggestions?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 68425 bytes
Desc: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20051101/b5cf65b9/attachment.obj>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list