From cygwin-return-60721-listarch-cygwin=sourceware dot cygnus dot com at cygwin dot com Thu Oct 31 17:54:36 2002 Return-Path: Delivered-To: listarch-cygwin at sourceware dot cygnus dot com Received: (qmail 2721 invoked by alias); 31 Oct 2002 17:54:35 -0000 Mailing-List: contact cygwin-help at cygwin dot com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner at cygwin dot com Mail-Followup-To: cygwin at cygwin dot com Delivered-To: mailing list cygwin at cygwin dot com Received: (qmail 2657 invoked from network); 31 Oct 2002 17:54:33 -0000 Received: from unknown (HELO relay3.softcomca.com) (168.144.1.70) by sources dot redhat dot com with SMTP; 31 Oct 2002 17:54:33 -0000 Received: from M2W094.mail2web.com ([168.144.108.94]) by relay3.softcomca.com with Microsoft SMTPSVC(5.0.2195.5329); Thu, 31 Oct 2002 12:54:33 -0500 Message-ID: <48270-2200210431175433137@M2W094.mail2web.com> X-Priority: 3 Reply-To: lhall at rfk dot com X-Originating-IP: 209.113.174.244 From: "lhall at pop dot ma dot ultranet dot com" To: cbfalconer at worldnet dot att dot net, cygwin at cygwin dot com Subject: Re: gdb hangs on a 486 Date: Thu, 31 Oct 2002 12:54:33 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 31 Oct 2002 17:54:33.0472 (UTC) FILETIME=[91BDD800:01C28106] >From: CBFalconer cbfalconer@yahoo=2Ecom >Date: Thu, 31 Oct 2002 11:20:45 -0500 >To: cygwin@cygwin=2Ecom >Subject: Re: gdb hangs on a 486 > > >"Larry Hall (RFK Partners, Inc)" wrote: >>=20 >> At 11:13 PM 10/30/2002, CBFalconer wrote: >> >I have been trying out gdb in Cygwin, and found it to hang and/or >> >crash under W98, running on a 486=2E The output of gdb --version >> >is: >> > >>=2E=2E=2E snip =2E=2E=2E >> > > This GDB was configured as "i686-pc-cygwin"=2E >> > ^^^^^^^^^^^^^^ >> >This appears unwarranted=2E I would have assumed gdb would test and >> >adapt itself to the processor on which it is running=2E >>=20 >> At this point, I think most (all?) Cygwin packages are configured >> like this=2E Whether or not that's true, it's not unwarranted=2E There'= s=20 >> good reason to make use of the newer architectures' capabilities=2E > >I can easily believe that=2E It seems very poor practice to make >these assumptions without checking them somewhere and generating a >warning=2E Such things can go in initialization or loading code=2E Sure=2E I doubt many programs actually do architecture checks as part of their startup though=2E If you're arguing that this should be the=20 case, I won't contest it=2E In a perfect world, this would probably be the case=2E It's a low enough pain-threshold for the majority that=20 the lack of this check is not noticed=2E But that's a separate issue=20 from your point=2E >=2E=2E=2E snip =2E=2E=2E >>=20 >> gdb -nw >>=20 > >Are you saying that the problem is limited to the GUI interface?=20 >Is this known, or just a guess? Actually, no I'm not saying that=2E However, you mentioned that gdb=20 came up in the GUI version, which I read as preference not to have the GUI=2E That's really all I was pointing out=2E It's possible that the=20= command line version would cause less windowing/mouse problems though=2E I don't expect that the command line version targets i486 while the GUI targets something later however=2E >>=20 >> Sounds like you may want to get the source, reconfigure, and build >> your own version targeting i386 or i486=2E > >A non-trivial job, especially if the very tools are suspect=2E A potentially non-trivial job, yes, depending on your skills and=20 experience building packages=2E I'm not sure what you're referring to by "the very tools are suspect"=2E These tools have been around for a long time=2E They worked when these architectures were the default configuration=2E It shouldn't be too hard to get them working on=20 those targets now=2E If you're referring to the fact that the tools=20 don't check if the run-time environment matches the configuration=20 environment on start-up, I think labeling the tools as "suspect" for=20 this oversight is a little extreme=2E But I may be missing your meaning=2E= Larry -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web=2Ecom/ =2E -- 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/