From patchwork Fri May 8 14:48:15 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 22607 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n48FE59r024951 for ; Fri, 8 May 2009 15:14:06 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762197AbZEHPNa (ORCPT ); Fri, 8 May 2009 11:13:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760370AbZEHPNa (ORCPT ); Fri, 8 May 2009 11:13:30 -0400 Received: from cvs.mpc-ogw.co.uk ([81.2.99.171]:1651 "EHLO warcop.mpc-data.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1762468AbZEHPN2 (ORCPT ); Fri, 8 May 2009 11:13:28 -0400 X-Greylist: delayed 1499 seconds by postgrey-1.27 at vger.kernel.org; Fri, 08 May 2009 11:13:22 EDT Received: from [10.150.18.187] (quercus-bis.mpc-data.co.uk [10.150.18.187]) by warcop.mpc-data.co.uk (8.12.9p2/8.12.9) with ESMTP id n48EmJMM003842; Fri, 8 May 2009 15:48:19 +0100 (BST) (envelope-from pgriffin@mpc-data.co.uk) Subject: [PATCH] Add in support for ptrace GDB defines From: Peter Griffin To: lethal@linux-sh.org Cc: linux-sh@vger.kernel.org Date: Fri, 08 May 2009 15:48:15 +0100 Message-Id: <1241794095.16311.28.camel@quercus-bis> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org >From 74f64c22d2d3b0082cf96ed81fe2ccd02a352441 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Mon, 2 Mar 2009 17:05:09 +0000 Subject: [PATCH] Add in support for ptrace GDB defines Signed-off-by: Peter Griffin Signed-off-by: Peter Griffin --- arch/sh/include/asm/ptrace.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/sh/include/asm/ptrace.h b/arch/sh/include/asm/ptrace.h index 68e20ff..1dc12cb 100644 --- a/arch/sh/include/asm/ptrace.h +++ b/arch/sh/include/asm/ptrace.h @@ -102,6 +102,11 @@ struct pt_dspregs { #define PTRACE_GETDSPREGS 55 /* DSP registers */ #define PTRACE_SETDSPREGS 56 +#define PT_TEXT_END_ADDR 240 +#define PT_TEXT_ADDR 244 /* &(struct user)->start_code */ +#define PT_DATA_ADDR 248 /* &(struct user)->start_data */ +#define PT_TEXT_LEN 252 + #ifdef __KERNEL__ #include