From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8082 invoked by alias); 20 Dec 2011 17:53:08 -0000 Received: (qmail 8068 invoked by uid 22791); 20 Dec 2011 17:53:06 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM X-Spam-Check-By: sourceware.org Received: from mail-wi0-f169.google.com (HELO mail-wi0-f169.google.com) (209.85.212.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 20 Dec 2011 17:52:51 +0000 Received: by mail-wi0-f169.google.com with SMTP id hq12so1990982wib.0 for ; Tue, 20 Dec 2011 09:52:50 -0800 (PST) Received: by 10.180.90.40 with SMTP id bt8mr6929533wib.4.1324403570599; Tue, 20 Dec 2011 09:52:50 -0800 (PST) Received: from localhost.localdomain (plane06.yandex.ru. [178.154.200.208]) by mx.google.com with ESMTPS id m13sm2847567wbh.0.2011.12.20.09.52.49 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 20 Dec 2011 09:52:49 -0800 (PST) From: Valery Khromov To: gdb-patches@sourceware.org Cc: Pedro Alves , Mark Kettenis , Valery Khromov Subject: [PATCH 2/2] FreeBSD: Removed definition of DBREG_DRX macro because it is already in FreeBSD. Date: Tue, 20 Dec 2011 17:56:00 -0000 Message-Id: <1324403564-12619-1-git-send-email-valery.khromov@gmail.com> In-Reply-To: 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: 2011-12/txt/msg00689.txt.bz2 2011-12-20 Valery Khromov * i386bsd-nat.c (DBREG_DRX): Delete. * amd64bsd-nat.c (DBREG_DRX): Delete. --- gdb/amd64bsd-nat.c | 6 ------ gdb/i386bsd-nat.c | 6 ------ 2 files changed, 0 insertions(+), 12 deletions(-) diff --git a/gdb/amd64bsd-nat.c b/gdb/amd64bsd-nat.c index b31002f..21ab3ea 100644 --- a/gdb/amd64bsd-nat.c +++ b/gdb/amd64bsd-nat.c @@ -132,12 +132,6 @@ amd64bsd_target (void) #ifdef HAVE_PT_GETDBREGS -/* Not all versions of FreeBSD/amd64 that support the debug registers - have this macro. */ -#ifndef DBREG_DRX -#define DBREG_DRX(d, x) ((&d->dr0)[x]) -#endif - static unsigned long amd64bsd_dr_get (ptid_t ptid, int regnum) { diff --git a/gdb/i386bsd-nat.c b/gdb/i386bsd-nat.c index 2301c69..b727466 100644 --- a/gdb/i386bsd-nat.c +++ b/gdb/i386bsd-nat.c @@ -258,10 +258,4 @@ i386bsd_target (void) #ifdef HAVE_PT_GETDBREGS -/* Not all versions of FreeBSD/i386 that support the debug registers - have this macro. */ -#ifndef DBREG_DRX -#define DBREG_DRX(d, x) ((&d->dr0)[x]) -#endif - static void -- WBR, Valery Khromov