This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Help... GDB no longer works after updating...


Sorry, I didn't make myself clear in my first post.  This morning I updated
everything (I step I do every couple of weeks or so).  After updating, GDB
no longer worked.  Thus, I thought one of the new updated packed broke my
GDB, so I thought I would try reverting to a previous version...  I looked
in the log and w32api and cygwin where updated, so I thought I would try
rolling them back a version.  That didn't do anything, so I tried rolling
gdb back a version.  That didn't help either.  Then I went through the
setup and forced a re-install on everything.  I am still getting the same
error...  Obviously something got messed up, but I was wondering if anyone
experienced anything like this before, before I blow away my cygwin 
installation and re-install...

Thanks for your help,

Kris

-----Original Message-----
From: Larry Hall (RFK Partners, Inc) [mailto:lhall@rfk.com]
Sent: Wednesday, September 19, 2001 7:23 PM
To: Kris Erickson; 'cygwin@cygwin.com'
Subject: Re: Help... GDB no longer works after updating...


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]