From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24975 invoked by alias); 4 May 2002 05:40:18 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 24967 invoked from network); 4 May 2002 05:40:15 -0000 Received: from unknown (HELO bosvwl02.infy.com) (216.52.49.36) by sources.redhat.com with SMTP; 4 May 2002 05:40:15 -0000 Received: from 192.168.200.82 by bosvwl02.infy.com (InterScan E-Mail VirusWall NT); Sat, 04 May 2002 01:39:31 -0400 Received: from BLRKECIMR01.ad.infosys.com ([192.168.200.58]) by INDHUBBHS02.ad.infosys.com with Microsoft SMTPSVC(5.0.2195.4905); Sat, 4 May 2002 11:08:28 +0530 Received: from kecmsg09.ad.infosys.com ([192.168.200.95]) by BLRKECIMR01.ad.infosys.com with Microsoft SMTPSVC(5.0.2195.4905); Sat, 4 May 2002 11:08:06 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Cannot run gdb on source compiled with g++. Date: Fri, 03 May 2002 22:40:00 -0000 Message-ID: <72669A0FE83515438921FDE03D49364757AD68@kecmsg09.ad.infosys.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Raghuraman" To: X-OriginalArrivalTime: 04 May 2002 05:38:06.0930 (UTC) FILETIME=[DE279B20:01C1F32D] X-SW-Source: 2002-05/txt/msg00226.txt.bz2 Hi, I am not able to run gdb successfully. gdb runs successfully for the bi= naries shipped with cygwin - say ls or date (I can do assembly level debugg= ing). However, when I compile code with g++ with/without debug info, gdb gi= ves me error 193. Source file: #include void main (void){ using std::ostream; cout << "Hello world " <gdb -nw hello.exe GNU gdb 5.0 (20010428-1) Copyright 2001 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 condition= s. 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) run Starting program: /cygdrive/c/Documents and Settings/raghuraman/Unix/Src/CP= P/hel lo.exe Error creating process /cygdrive/c/Documents and Settings/raghuraman/Unix/S= rc/CP P/hello.exe, (error 193) (gdb) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/