Mail Archives: cygwin/2007/03/08/12:51:34
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 fine:
/tmp/debug $ cat foo.c
#include <stdio.h>
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/
- Raw text -