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]

RE: GDB problem (under cygwin)


On 08 March 2007 14:43, Raymond Miller wrote:

> Finally I found what is the problem. 

  No, I don't think you have.  You haven't even clearly identified a problem.

  You say that the problem is that gdb reports a SIGSEGV in thread 2 when you
compiled with cygwin gcc, but for all anyone knows that could just be because
your program caused a crash and thread 2 is the signal-handling thread in
cygwin programs.

  When you compile with mingw's gcc, you are compiling an entirely different
program, because mingw doesn't support all the posix things like signals etc.
that cygwin supports.

> Is it a bug in that version?

  Again, nobody can tell.  We don't have your code, we don't have your
machine, you haven't given an adequate description of the problem.  Just going
by sheer balance of probabilities, however, it is far more likely that gcc is
doing the right thing and your program has a bug in it.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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