From: Valery Khromov <valery.khromov@gmail.com>
To: gdb-patches@sourceware.org
Cc: Pedro Alves <alves.ped@gmail.com>,
Mark Kettenis <mark.kettenis@xs4all.nl>,
Valery Khromov <valery.khromov@gmail.com>
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 [thread overview]
Message-ID: <1324403564-12619-1-git-send-email-valery.khromov@gmail.com> (raw)
In-Reply-To: <ED59EC2B-8A8A-4A79-8275-ABF6ABDB8E13@gmail.com>
2011-12-20 Valery Khromov <valery.khromov@gmail.com>
* 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
next prev parent reply other threads:[~2011-12-20 17:53 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-06 2:41 [PATCH] Fix PR gdb/12953: No hardware watchpoints on FreeBSD amd64 Valery Khromov
2011-12-20 14:52 ` Tom Tromey
2011-12-20 18:30 ` Valery Khromov
2011-12-21 6:45 ` Joel Brobecker
2011-12-20 15:04 ` Mark Kettenis
2011-12-20 16:12 ` Pedro Alves
2011-12-20 17:52 ` Valery Khromov
2011-12-20 17:53 ` [PATCH 1/2] FreeBSD/amd64: Updates for the recent changes that Pedro Alves made Valery Khromov
2011-12-20 17:56 ` Valery Khromov [this message]
2011-12-20 19:44 ` [PATCH] Fix PR gdb/12953: No hardware watchpoints on FreeBSD amd64 Mark Kettenis
2011-12-20 20:38 ` [PATCH v2] " Valery Khromov
2012-01-31 17:50 ` Valery Khromov
2012-02-01 20:27 ` Tom Tromey
2012-02-02 9:03 ` Valery Khromov
2012-02-11 18:51 ` Mark Kettenis
2012-02-11 21:03 ` Valery Khromov
2012-02-09 16:10 ` Pedro Alves
2011-12-20 16:05 ` [PATCH] " Pedro Alves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1324403564-12619-1-git-send-email-valery.khromov@gmail.com \
--to=valery.khromov@gmail.com \
--cc=alves.ped@gmail.com \
--cc=gdb-patches@sourceware.org \
--cc=mark.kettenis@xs4all.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox