This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

1.5.18-1: hang when stepping over g_thread_init


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?

Attachment: cygcheck.out
Description: cygcheck.out

--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]