Subject: CVS commit: pkgsrc/devel/gdb
From: Kamil Rytarowski
Date: 2017-02-18 18:43:37
Message id: 20170218174337.76C5CFBE4@cvs.NetBSD.org

Log Message:
Prepare gdb/amd64bsd-nat.c for Debug Registers (watchpoints) on NetBSD

Define DBREG_DRX when it's undefined to:
    #define        DBREG_DRX(d,x)  ((d)->dr[(x)])

This has been copied from FreeBSD:
/usr/include/x86/reg.h:#define	DBREG_DRX(d,x)	((d)->dr[(x)])

No functional change for existing operating systems.

Sponsored by <The NetBSD Foundation>

Files:
RevisionActionfile
1.28modifypkgsrc/devel/gdb/distinfo
1.1addpkgsrc/devel/gdb/patches/patch-gdb_amd64bsd-nat.c