From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20673 invoked by alias); 30 Mar 2012 13:42:46 -0000 Received: (qmail 20659 invoked by uid 22791); 30 Mar 2012 13:42:44 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from bromo.med.uc.edu (HELO bromo.med.uc.edu) (129.137.3.146) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 30 Mar 2012 13:42:11 +0000 Received: from bromo.med.uc.edu (localhost.localdomain [127.0.0.1]) by bromo.med.uc.edu (Postfix) with ESMTP id 55C80B0074; Fri, 30 Mar 2012 09:42:11 -0400 (EDT) Received: (from howarth@localhost) by bromo.med.uc.edu (8.14.3/8.14.3/Submit) id q2UDgBuV007991; Fri, 30 Mar 2012 09:42:11 -0400 Date: Fri, 30 Mar 2012 13:42:00 -0000 From: Jack Howarth To: gingold@adacore.com Cc: gdb@sourceware.org Subject: PR13901 Message-ID: <20120330134210.GA7869@bromo.med.uc.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-03/txt/msg00085.txt.bz2 Tristan, Have you noticed that recent FSF gdb releases including 7.4 have been non-functional when built targeting i386-apple-darwin? The run-time failures have changed between 7.2 and 7.4. Currently the failure is exhibited as errors of the form... (gdb) break main Breakpoint 1 at 0xd80: file himenoBMTxpa.c, line 71. (gdb) r Starting program: /Users/howarth/a.out darwin_set_sstep: unknown flavour: 4 Error calling thread_get_state for GP registers for thread 0x8451lxwarning: Mach error at "i386-darwin-nat.c:118" in function "i386_darwin_fetch_inferior_registers": (os/kern) invalid argument (0x4) http://sourceware.org/bugzilla/show_bug.cgi?id=13901 Is this something that is trivial to fix? It would be nice if both MacPorts and fink could have a functional i386 build of FSF gdb. In fink, we currently have gdb restricted to x86_64 fink (although the x86_64-apple-darwin build can debug i386 binaries fine). MacPorts has left their gdb pacakge at 7.1 (which I guess is that last version that worked for both i386-apple-darwin and x86_64-apple-darwin. Thanks in advance for any clarifications. Jack