Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 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" Subject: Cannot run gdb on source compiled with g++. Date: Sat, 4 May 2002 11:08:06 +0530 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] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g445eQG25056 Hi, I am not able to run gdb successfully. gdb runs successfully for the binaries shipped with cygwin - say ls or date (I can do assembly level debugging). However, when I compile code with g++ with/without debug info, gdb gives 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 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) run Starting program: /cygdrive/c/Documents and Settings/raghuraman/Unix/Src/CPP/hel lo.exe Error creating process /cygdrive/c/Documents and Settings/raghuraman/Unix/Src/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/