This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Help... GDB no longer works after updating...
- To: Kris Erickson <kris at mha dot ca>, "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Subject: Re: Help... GDB no longer works after updating...
- From: "Larry Hall (RFK Partners, Inc)" <lhall at rfk dot com>
- Date: Wed, 19 Sep 2001 22:23:25 -0400
What did you update? Just selected packages or all the packages?
You mentioned specifically gdb, cygwin, w32api, and gdb but is that
all that you updated? You should take all the packages that setup
offers, unless you're absolutely sure that the ones you're omitting
aren't needed by any that you're taking. Of course, then you're
pretty much on your own, since this list can't really support custom
installations at this point. If you did install all the packages, well
then I'm not sure what your issue is. My best guess is that you have
a package synchronization issue but if you installed everything,
synchronization is not the problem. In that case, I can't offer any
other ideas.
Larry Hall lhall@rfk.com
RFK Partners, Inc. http://www.rfk.com
118 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
At 09:03 PM 9/19/2001, Kris Erickson wrote:
>I had been happily (very happily) using GDB for debugging until this morning,
>when I decided to update my cygwin files (have to keep current). Now GDB won't
>run anything. I did a search on google and the cygwin lists on
>"unknown target exception", but everything I came up with seems fairly out of
>date...
>
>Here is a simple test file I created, the error that it generates and executing
>the show command.
>
>I have tried re-installing gdb, cygwin, w32api, gcc but nothing has changed. I
>tried going back a version in w32api and cygwin but that didn't help either...
>I really don't want to have to blow away my whole cygwin distribution because it
>took months to get X and all the nice utilities installed and compiled...
>
>Thank any of you for your help in advance,
>
>Kris
>
>cygwin session follows
>------------------------------------
>
>$ cat test.c
>#include <stdlib.h>
>
>int main(void) {
> printf("Hello World\n");
>}
>
>Administrator@STORK ~/tmp
>$ gcc -g -o test test.c
>Administrator@STORK ~/tmp
>$ gdb -nw test.exe
>GNU gdb 5.0 (20010428-1)
<snip>
--
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/