From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23876 invoked by alias); 11 Jun 2009 20:33:56 -0000 Received: (qmail 23669 invoked by uid 22791); 11 Jun 2009 20:33:48 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 11 Jun 2009 20:33:40 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3) with ESMTP id n5BKXVWw006197; Thu, 11 Jun 2009 22:33:31 +0200 (CEST) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3/Submit) id n5BKXVp6017968; Thu, 11 Jun 2009 22:33:31 +0200 (CEST) Date: Thu, 11 Jun 2009 20:33:00 -0000 Message-Id: <200906112033.n5BKXVp6017968@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: aristovski@qnx.com CC: gdb-patches@sources.redhat.com In-reply-to: (message from Aleksandar Ristovski on Thu, 11 Jun 2009 14:53:19 -0400) Subject: Re: [patch] i386-nto-tdep.c - sigcontext References: 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: 2009-06/txt/msg00321.txt.bz2 > From: Aleksandar Ristovski > Date: Thu, 11 Jun 2009 14:53:19 -0400 > > Hello, > > This is another cleanup patch for nto target (part of the > ongoing effort to get my local changes into mainline). > > ChangeLog: > * i386-nto-tdep.c (I386_NTO_SIGCONTEXT_OFFSET): Remove define. > (i386nto_sigcontext_addr): Change the way context address > is calculated. > (i386nto_init_abi): Remove usage of deprecated > sc_reg_offset and > sc_sp_offset and set sc_reg_offset and sc_num_regs. Hard for me to check the correctness of this diff, but the mechanism you're using does look correct.