X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <45EF3A38 DOT 8030205 AT cygwin DOT com> <039501c761a3$58af5e80$2e08a8c0 AT CAM DOT ARTIMI DOT COM> Subject: RE: GDB problem (under cygwin) Date: Thu, 8 Mar 2007 17:51:08 -0000 Message-ID: <03a301c761aa$59d033a0$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Note-from-DJ: This may be spam 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 > > 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 fine: /tmp/debug $ cat foo.c #include int main () { printf("hello"); return 0; } /tmp/debug $ gcc -o foo -g -O2 foo.c /tmp/debug $ gdb ./foo.exe GNU gdb 6.5.50.20060523-cvs Copyright (C) 2006 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) r Starting program: /tmp/debug/foo.exe Loaded symbols for /win/c/WINDOWS/system32/ntdll.dll Loaded symbols for /win/c/WINDOWS/system32/kernel32.dll Loaded symbols for /usr/bin/cygwin1.dll Loaded symbols for /win/c/WINDOWS/system32/advapi32.dll Loaded symbols for /win/c/WINDOWS/system32/rpcrt4.dll hello Program exited normally. (gdb) > I said that I only get that problem in this computer (a laptop with windows > xp media center, intel core 2 duo t5600) Hmm, perhaps you are experiencing the kind of problems that can be caused by security/firewall/antivirus software? Do you have any of Norton/MacAffee/Symantec antivirus, Logitech webcam software, Kerio, Agnitum or ZoneAlarm Personal Firewall, Iolo System Mechanic/AntiVirus/Firewall, LanDesk, or Windows Defender installed, that is on the laptop but not on the other machine? 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/