From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9737 invoked by alias); 1 Apr 2009 20:25:58 -0000 Received: (qmail 9598 invoked by uid 22791); 1 Apr 2009 20:25:57 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from qw-out-1920.google.com (HELO qw-out-1920.google.com) (74.125.92.146) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Apr 2009 20:25:50 +0000 Received: by qw-out-1920.google.com with SMTP id 5so205400qwf.24 for ; Wed, 01 Apr 2009 13:25:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.96.146 with SMTP id h18mr4031211vcn.37.1238617546795; Wed, 01 Apr 2009 13:25:46 -0700 (PDT) Date: Wed, 01 Apr 2009 20:25:00 -0000 Message-ID: Subject: ARM VFP support From: Matt Fischer To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: 2009-04/txt/msg00013.txt.bz2 I'm working on an embedded Linux project, and recently had to debug some floating-point code. It would seem that ARM's VFP co-processor isn't currently supported in GDB on Linux, due to a lack of support in both GDB proper as well as a lack of kernel facilities to retrieve the appropriate register data. I did find that a patch has recently been accepted upstream in the kernel to add the necessary ptrace() infrastructure for it (http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3d1228ead618b88e8606015cbabc49019981805d), but this is obviously quite new. Has anyone yet attempted to add VFP support to GDB, now that the kernel support for it exists? I'm considering trying to hack in at least some basic register viewing support to assist in my debugging here, but if somebody happens to already have a work-in-progress of this I'd be interested in seeing it. Thanks, Matt