From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16903 invoked by alias); 12 Mar 2004 13:50:05 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 16896 invoked from network); 12 Mar 2004 13:50:03 -0000 Received: from unknown (HELO miranda.se.axis.com) (193.13.178.2) by sources.redhat.com with SMTP; 12 Mar 2004 13:50:03 -0000 Received: from axis.com (ironmaiden.se.axis.com [10.13.8.120]) by miranda.se.axis.com (8.12.9/8.12.9/Debian-5local0.1) with ESMTP id i2CDnI8u022395; Fri, 12 Mar 2004 14:49:18 +0100 Message-ID: <4051BFDE.8060603@axis.com> Date: Fri, 12 Mar 2004 13:50:00 -0000 From: Orjan Friberg Organization: Axis Communications User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 MIME-Version: 1.0 To: Daniel Jacobowitz CC: gdb-patches@sources.redhat.com Subject: Re: [CRIS] dwarf2 frame sniffer problem? References: <404F481E.9060709@axis.com> <20040310165905.GA4291@nevyn.them.org> <405072FE.1010403@axis.com> <40508BD8.10802@axis.com> <20040311171139.GA17530@nevyn.them.org> <40518F6A.2080806@axis.com> In-Reply-To: <40518F6A.2080806@axis.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03.o/txt/msg00281.txt Message-ID: <20040312135000.FdURGFz8o_hZrPU6-qEvNJFKlovmH5qZwiHZkBCf-tM@z> Orjan Friberg wrote: > Ugh, I had totally missed that (i.e. I don't even have a CRIS-specific > DWARF2_REG_TO_REGNUM). Looking at the other targets' implementations I > don't understand where they got the dwarf2 register mapping from (though > amd64-tdep.c mentions System V psABI), and the dwarf2 spec says in > "2.4.2 Register Name Operators" it should be in the architecture's ABI > spec. I'll go bug my compiler guy, or go look in gcc myself. Too trigger happy on the send button... The mn10300 told me where to find it (gcc/config/cris/cris.h). It seems only the SRP needs special handling (besides the ones that aren't mapped at all). -- Orjan Friberg Axis Communications