delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/29/18:18:18

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Thu, 29 Jun 2000 18:17:18 -0400
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: [Update] Re: GDB on Win2k doesn't work for me.
Message-ID: <20000629181718.A8571@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: cygwin AT sourceware DOT cygnus DOT com
References: <20000626163802 DOT A3414 AT cygnus DOT com> <Pine DOT LNX DOT 4 DOT 10 DOT 10006261723090 DOT 18849-100000 AT mailhost DOT thinkage DOT ca> <20000626181747 DOT A5675 AT cygnus DOT com> <20000627004702 DOT A15783 AT cygnus DOT com> <m33dlzco28 DOT fsf AT MILHOUSE DOT cs DOT cornell DOT edu> <m3lmzo2uqj DOT fsf_-_ AT MILHOUSE DOT cs DOT cornell DOT edu>
Mime-Version: 1.0
User-Agent: Mutt/1.2i
In-Reply-To: <m3lmzo2uqj.fsf_-_@MILHOUSE.cs.cornell.edu>; from stodghil@CS.Cornell.EDU on Thu, Jun 29, 2000 at 02:43:48PM -0400

On Thu, Jun 29, 2000 at 02:43:48PM -0400, Paul Stodghill wrote:
>> I found the problem. I uninstalled Innoculin and gdb suddenly worked again.
>
>I spoke too soon. Innoculin wasn't the problem.
>
>GDB does not work when I log into my computer while it is connected to the
>network. GDB does work when I log into my computer without it being
>connected to the network, but reconnect it once it I am logged in.
>
>RECIPE FOR GDB FAILURE
>======================
>1. With computer connected to the LAN, log in.
>2. Start gdb with a program, and run the program,
>
>milhouse% gcc -g -o foo.exe foo.c
>milhouse% gdb -nw foo.exe
>GNU gdb 5.0
>Copyright 2000 Free Software Foundation, Inc.
>GDB is free software, covered by the GNU General Public License, and you are
>welcome to change it and/or distribute copies of it under certain conditions.
>Type "show copying" to see the conditions.
>There is absolutely no warranty for GDB.  Type "show warranty" for details.
>This GDB was configured as "i686-pc-cygwin"...
>(gdb) run
>Starting program: /home/stodghil/localhome/tmp/foo.exe 
>gdb: unknown target exception 0x000006d1 at 0x77e89b01
>
>Program received signal ?, Unknown signal.
>0x77e89b01 in ?? ()
>(gdb)
>
>RECIPE FOR GDB SUCCESS
>======================
>1. Disconnect the computer from the LAN.
>2. Log in.
>3. Once the machine has finished logging you in, reconnect the network.
>4. Start gdb with a program, and run the program,
>
>milhouse% gcc -g -o foo.exe foo.c
>milhouse% gdb -nw foo.exe
>GNU gdb 5.0
>Copyright 2000 Free Software Foundation, Inc.
>GDB is free software, covered by the GNU General Public License, and you are
>welcome to change it and/or distribute copies of it under certain conditions.
>Type "show copying" to see the conditions.
>There is absolutely no warranty for GDB.  Type "show warranty" for details.
>This GDB was configured as "i686-pc-cygwin"...
>(gdb) run
>Starting program: /home/stodghil/localhome/tmp/foo.exe 
>Hello, world.
>
>Program exited with code 016.
>(gdb) 
>
>---------------------------------------------------------------------------
>Other information:
>o My machine is in a Windows domain, not a workgroup
>o I have verified that this problem also occurs on a different machine in a
>  different Windows domain.
>o Unmapping all of the network drives didn't seem to make a difference in
>  either case.
>o If I log in as a LOCAL user (ie, MILHOUSE\Administrator), while the
>  computer is connected to the network, GDB works!
>
>Any ideas?

Yes.  I've given two suggestions that I haven't seen followed up on.

1) Try 'set debugexceptions'

2) Debug gdb.exe and figure out where and why this is failing.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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