delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/08/12:51:34

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <ee84e5f30703061114q58aa0675jd4d4a69c759442a5 AT mail DOT gmail DOT com> <Pine DOT GSO DOT 4 DOT 63 DOT 0703061451230 DOT 6189 AT access1 DOT cims DOT nyu DOT edu> <esnbau$5m8$1 AT sea DOT gmane DOT org> <45EF3A38 DOT 8030205 AT cygwin DOT com> <esp7en$qqu$1 AT sea DOT gmane DOT org> <039501c761a3$58af5e80$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <esphd3$6b7$1 AT sea DOT gmane DOT org>
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
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <esphd3$6b7$1@sea.gmane.org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019