Re: GDB problem (under cygwin)

2007-03-08 Thread Raymond Miller
Finally I found what is the problem. The problem wasn't the Eclipse IDE because I couldn't debug either with the gdb.exe ( in command-line) and in addition I installed Cygwin and Eclipse IDE in the desktop PC (AMD 64 3400+ with Windows XP Home and Ubuntu) and I could compile and debug without

RE: GDB problem (under cygwin)

2007-03-08 Thread Dave Korn
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

Re: GDB problem (under cygwin)

2007-03-08 Thread Raymond Miller
No, I don't think that my program has a bug. Ok, this is the code of my program (C): #include stdio.h int main () { printf(hello); return 0; } Another code with the same problem (Segmentation fault) int main () { return 0; } And I could follow writting codes because all have the same problem.

Re: GDB problem (under cygwin)

2007-03-08 Thread Brian Dessent
Raymond Miller wrote: No, I don't think that my program has a bug. Ok, this is the code of my program (C): #include stdio.h int main () { printf(hello); return 0; } Another code with the same problem (Segmentation fault) int main () { return 0; } And I could follow

RE: GDB problem (under cygwin)

2007-03-08 Thread Dave Korn
On 08 March 2007 17:33, Raymond Miller wrote: No, I don't think that my program has a bug. Ok, this is the code of my program (C): #include stdio.h int main () { printf(hello); return 0; } Ok, just to be certain I checked it myself, (I have the same gcc/gdb versions), and it worked

Re: GDB problem (under cygwin)

2007-03-08 Thread Raymond Miller
int main () { printf(hello); return 0; } Ok, I compiled the code.c with the cygwin gcc C:\Documents and Settings\Rafa\Desktopgcc code.c -g -o program.exe I ran the cygwin gdb C:\Documents and Settings\Rafa\Desktopgdb program.exe GNU gdb 6.5.50.20060706-cvs (cygwin-special) Copyright (C) 2006

Re: GDB problem (under cygwin)

2007-03-08 Thread Matthew Woehlke
Raymond Miller wrote: Yes, I have installed in this pc (laptop) the Logitech webcam software and this is not installed in the desktop pc (I don't have any webcam on that pc), but could be it the cause of the segmentation fault? I wouldn't discount it until you've uninstalled it and reproduced

RE: GDB problem (under cygwin)

2007-03-08 Thread Dave Korn
On 08 March 2007 18:12, Raymond Miller wrote: Yes, I have installed in this pc (laptop) the Logitech webcam software and this is not installed in the desktop pc (I don't have any webcam on that pc), but could be it the cause of the segmentation fault? Yes! Disable Logitech process monitor

Re: GDB problem (under cygwin)

2007-03-08 Thread Raymond Miller
omg, I would never have imagined that that were the problem. I thanks you very much, I was crazy already. Not it works. Thanks! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

RE: GDB problem (under cygwin)

2007-03-08 Thread Dave Korn
On 08 March 2007 18:50, Raymond Miller wrote: omg, I would never have imagined that that were the problem. You're not the only one, there is really no need at all for a webcam software to inject itself into every process in the system! It is a *very* peculiar piece of design and a very bad

Re: GDB problem (under cygwin)

2007-03-07 Thread Raymond Miller
Can someone say me what am I doing wrong? With mingw I can debug without problem (doing the make with mingw32-make). Then what's the problem?. Cya -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Re: GDB problem (under cygwin)

2007-03-07 Thread Larry Hall (Cygwin)
Raymond Miller wrote: Can someone say me what am I doing wrong? With mingw I can debug without problem (doing the make with mingw32-make). Then what's the problem?. Not with the information provided at least. See: Problem reports: http://cygwin.com/problems.html I'm not sure allot

Re: GDB problem (under cygwin)

2007-03-06 Thread Igor Peshansky
http://cygwin.com/acronyms/#PPIOSPE. Redirecting to the list. On Tue, 6 Mar 2007, Kabal wrote: Hi, I saw some messages written by you and I would want know if you could help me with a problem. I have installed cygwin (devel package) and I have added the Environment variable in the path. I