Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com content-class: urn:content-classes:message Subject: RE: Hit a problem with GDB and Cygwin MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Date: Mon, 15 Oct 2001 13:47:11 +1000 X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Hit a problem with GDB and Cygwin Thread-Index: AcFVK+/3tRdsNA97R1WQvgqBUfKHawAABdzw From: "Robert Collins" To: "Jonathan M. Hill" , Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id f9F3dSX17696 STFMLA for the exception number, Rob > -----Original Message----- > From: Jonathan M. Hill [mailto:jmhill AT mail DOT hartford DOT edu] > Sent: Monday, October 15, 2001 1:38 PM > To: cygwin AT cygwin DOT com > Subject: Hit a problem with GDB and Cygwin > > > Hello There; > > I am an instructor in the Electrical Engineering Dept. at the > University of Hartford. I'm new here so the department just bought me > a Windows XP machine from Gateway. I'm still scratching my head over > this one, "Why XP?" > > Well anyways, I have this machine on hand and just installed > Cygwin, I've done this before on a Windows 95 machine and did not > notice anything odd during the install. > > I did just find a problem with GDB however. I just built the > traditional "Hello World!" program and find that GDB is > having trouble. > The Hello World program runs correctly under bash however. > Here is the code: > > > $ less hello.c > /* > * Just the traditional Hello World! program > */ > #include > int main() > { > printf("Hello World!\n"); > return 0; > } > > > When I bring up GDB, the Insight window appears along with the > source code, but when I click the "run" button, Insight indicates > that it received an unknown signal and then locks up. > > I next tried starting GDB without the Insight graphical user interface > > $ gcc -g hello.c -o hello > $ gdb -nw hello > 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) break 1 > Breakpoint 1 at 0x40105a: file hello.c, line 1. > (gdb) run > Starting program: /home/Administrator/code/hello.exe > gdb: unknown target exception 0x000006d1 at 0x77e8f142 > > Program received signal ?, Unknown signal. > 0x77e8f142 in _libkernel32_a_iname () > (gdb) > > If there is any additional information that I can provide, please > send me a note. > Jonathan Hill > jmhill AT mail DOT hartford DOT edu > > > -- > 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/ > > -- 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/