delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/13/18:24:06

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
Message-Id: <5.0.0.25.0.20011113160248.021567c0@mail.nucleus.com>
X-Sender: simg AT mail DOT nucleus DOT com
X-Mailer: QUALCOMM Windows Eudora Version 5.0
Date: Tue, 13 Nov 2001 16:25:42 -0700
To: cygwin AT cygwin DOT com
From: Simpson Gilbert <simg AT saiga DOT com>
Subject: GDB error
Mime-Version: 1.0

I searched the archives on Friday for references to the problem I'm having 
and found several but didn't see a solution. If anyone can point me in the 
right direction I would be grateful.

I have a small c++ program that compiles and runs, under g++, with no 
problem. When I try to use GDB I get an error the moment I run the file.

g++ -o linked.exe -g linked.cxx
gdb -se linked.exe

I get a popup window that says:

Program received signal SIGSEGV, Segmentation fault

and I cannot go any further. No window ever actually pops up that I can 
issue GDB commands in.

The error also occurs when I add the -nw flag to gdb but I get different info:

gnu GDB 5.0 (20010428-3)
....
run
(I get 4 files listed all with the "error reading line numbers" message)
/cygdrive/c/WINNT/System32/KERNEL32.dll
/cygdrive/c/WINNT/System32/advapi32.dll
/cygdrive/c/WINNT/System32/psapi.dll
/cygdrive/c/WINNT/System32/IMAGEHLP.dll

Program received SIGSEGV, segmentation fault
0x77f6ce0c in ?? ()

---

I'm really new to Unix and even newer to CYGWIN so I'm completely lost as 
to what to do next. I ran setup on Friday and it updated GCC and CYGWIN, I 
ran it again today and it updated CYGWIN again so I'm pretty sure that I'm 
current on everything.

My system is a PII running NT 4.0 SP5

Thanks,
Sim Gilbert



--
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