[Bug gdb/12953] No hardware watchpoints on FreeBSD amd64

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Thu Feb 9 16:08:00 GMT 2012


http://sourceware.org/bugzilla/show_bug.cgi?id=12953

--- Comment #9 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-02-09 16:06:51 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    palves@sourceware.org    2012-02-09 16:06:44

Modified files:
    gdb            : ChangeLog Makefile.in amd64bsd-nat.c 
                     amd64fbsd-nat.c 
    gdb/config/i386: fbsd64.mh 
Added files:
    gdb            : amd64bsd-nat.h 

Log message:
    2012-02-09  Valery Khromov  <valery.khromov@gmail.com>

    PR gdb/12953
    * Makefile.in (HFILES_NO_SRCDIR): Add amd64bsd-nat.h.
    * amd64bsd-nat.c: Add support for debug registers (adapted from
    i386bsd-nat.c).
    [HAVE_PT_GETDBREGS] (amd64bsd_dr_get, amd64bsd_dr_set)
    (amd64bsd_dr_set_control, amd64bsd_dr_set_addr)
    (amd64bsd_dr_get_addr, amd64bsd_dr_get_status)
    (amd64bsd_dr_get_control): New functions.
    * amd64bsd-nat.h: New file (adapted from i386bsd-nat.h).
    * amd64fbsd-nat.c: Include "amd64bsd-nat.h", "i386-nat.h".
    [HAVE_PT_GETDBREGS] (_initialize_amd64fbsd_nat): Add hardware
    watchpoints initialization.
    * config/i386/fbsd64.mh (NATDEPFILES): Add i386-nat.o.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/amd64bsd-nat.h.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13818&r2=1.13819
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/Makefile.in.diff?cvsroot=src&r1=1.1187&r2=1.1188
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/amd64bsd-nat.c.diff?cvsroot=src&r1=1.19&r2=1.20
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/amd64fbsd-nat.c.diff?cvsroot=src&r1=1.28&r2=1.29
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/config/i386/fbsd64.mh.diff?cvsroot=src&r1=1.12&r2=1.13

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Gdb-prs mailing list