From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21632 invoked by alias); 29 Dec 2010 12:05:14 -0000 Received: (qmail 21621 invoked by uid 22791); 29 Dec 2010 12:05:12 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 29 Dec 2010 12:05:06 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 921FB2BAC4C; Wed, 29 Dec 2010 07:05:04 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fkLAN2PIMt23; Wed, 29 Dec 2010 07:05:04 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 1945F2BAC3E; Wed, 29 Dec 2010 07:05:04 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 7D9B7145870; Wed, 29 Dec 2010 16:04:56 +0400 (RET) Date: Wed, 29 Dec 2010 13:16:00 -0000 From: Joel Brobecker To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 7/8] ia64-hpux: unwinding bsp value from system call Message-ID: <20101229120456.GG2396@adacore.com> References: <1293511386-7384-1-git-send-email-brobecker@adacore.com> <201012281546.01099.pedro@codesourcery.com> <20101229032848.GE2396@adacore.com> <201012291042.14627.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201012291042.14627.pedro@codesourcery.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-12/txt/msg00545.txt.bz2 > Before you dismiss this completely on that > ground, looking at hppa-hpux-tdep.c, I see: [...] > When you implement core support for ia64-hpux, if done > right (in tdep code, host-independent, supporting cross core > debugging), you'll need to hardcode these offsets anyway. It > looks like HPUX dumps each LWP's save_save in the cores. These > offset are usually practically part of the ABI. OK, I think you have a solid point :-). I will move some of these constants, and implement your suggestion of a RUREGS object. Thanks for all the help! -- Joel