delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/14/23:39:29

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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
Date: Mon, 15 Oct 2001 13:47:11 +1000
X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0
Message-ID: <EA18B9FA0FE4194AA2B4CDB91F73C0EF08F1EF@itdomain002.itdomain.net.au>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: Hit a problem with GDB and Cygwin
Thread-Index: AcFVK+/3tRdsNA97R1WQvgqBUfKHawAABdzw
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Jonathan M. Hill" <jmhill AT mail DOT hartford DOT edu>, <cygwin AT cygwin DOT com>
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 <stdio.h>
> 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/

- Raw text -


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