Stack Dump Problem

Robert Collins robert.collins@itdomain.com.au
Sat Mar 10 16:19:00 GMT 2001


----- Original Message -----
From: "David Highley" <dhighley@mail.highley-recommended.com>
To: <cygwin@cygwin.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



More information about the Cygwin mailing list