From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15833 invoked by alias); 28 Jun 2006 21:34:09 -0000 Received: (qmail 15825 invoked by uid 22791); 28 Jun 2006 21:34:09 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 28 Jun 2006 21:34:07 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k5SLY6dN004684; Wed, 28 Jun 2006 17:34:06 -0400 Received: from post-office.corp.redhat.com (post-office.corp.redhat.com [172.16.52.227]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k5SLY6Ts026588; Wed, 28 Jun 2006 17:34:06 -0400 Received: from greed.delorie.com (dj.cipe.redhat.com [10.0.0.222]) by post-office.corp.redhat.com (8.11.6/8.11.6) with ESMTP id k5SLY3R13635; Wed, 28 Jun 2006 17:34:03 -0400 Received: from greed.delorie.com (greed.delorie.com [127.0.0.1]) by greed.delorie.com (8.13.1/8.13.1) with ESMTP id k5SLXhaN017976; Wed, 28 Jun 2006 17:33:43 -0400 Received: (from dj@localhost) by greed.delorie.com (8.13.1/8.13.1/Submit) id k5SLXcAM017959; Wed, 28 Jun 2006 17:33:38 -0400 Date: Wed, 28 Jun 2006 21:34:00 -0000 Message-Id: <200606282133.k5SLXcAM017959@greed.delorie.com> From: DJ Delorie To: mark.kettenis@xs4all.nl CC: gdb-patches@sourceware.org In-reply-to: <200606282129.k5SLTfc8004816@elgar.sibelius.xs4all.nl> (message from Mark Kettenis on Wed, 28 Jun 2006 23:29:41 +0200 (CEST)) Subject: Re: [PATCH] m32c-tdep.c: Add virtual_frame_pointer function References: <20060628132918.GD24606@calimero.vinschen.de> <200606282129.k5SLTfc8004816@elgar.sibelius.xs4all.nl> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00395.txt.bz2 > You probably should change legacy_virtual_frame_pointer to check for > SP_REGNUM < NUM_REGS + NUM_PSEUDO_REGS instead. Note that m32c has two stack pointers, and the one that's used depends on the CPU flags. This is separate from the flag that determines which register bank is in use.