delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/10/19:20:02

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: <007901c0a9c0$cfb0f670$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "David Highley" <dhighley AT highley-recommended DOT com>, <cygwin AT cygwin DOT com>
References: <200103102025 DOT f2AKPxT16768 AT hemlock DOT highley-recommended DOT com>
Subject: Re: Stack Dump Problem
Date: Sun, 11 Mar 2001 11:18:18 +1100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-OriginalArrivalTime: 11 Mar 2001 00:12:45.0234 (UTC) FILETIME=[FF3BF120:01C0A9BF]



----- Original Message -----
From: "David Highley" <dhighley AT mail DOT highley-recommended DOT com>
To: <cygwin AT cygwin DOT com>
Sent: Sunday, March 11, 2001 7:25 AM
Subject: Re: Stack Dump Problem


>
<anip>
> Aspell was invoked from gvim, not a cygwin version. Aspell stack dumps
> when called directly. I would have had more information by now if I
> could figure out how to invoke gdb to run the program with command
line
> arguments. I ran gdb with --help and then tried
"-exec=/usr/local/aspell
> -c --dont-backup README". Gdb runs but does not load the program or at
> least no source code is found. If I run gdb and do a File->open for
> aspell the program loads and source code is opened, but then there
> appears to be no way to pass command line arguments with the debugger
> run command.
>
> I did try a later version of aspell and pspell, but had the same
> results. By the way the latest, 12, pspell will not build on Solaris
> platforms.
>

You cannot call
gdb file_to_debug file_parameters

what you need to do is
gdb file_to_debug gdb_parameters
then in gdb
run file_parameters

Rob




--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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