Bug 160930 - [PATCH] devel/gdb: HW watchpoint support for amd64
Summary: [PATCH] devel/gdb: HW watchpoint support for amd64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-23 03:50 UTC by Ben Morrow
Modified: 2012-02-25 11:13 UTC (History)
0 users

See Also:


Attachments
file.diff (9.98 KB, patch)
2011-09-23 03:50 UTC, Ben Morrow
no flags Details | Diff
devel-gdb-amd64-hwwp-7.3.1.patch (9.00 KB, patch)
2011-10-29 08:31 UTC, Ben Morrow
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Morrow 2011-09-23 03:50:03 UTC
Currently gdb on amd64 has no support for hardware watchpoints. Since
the hardware does actually support them, this is a little irritating.

Fix: The attached patch adds support.

Patch attached with submission follows:
How-To-Repeat: Set a watchpoint in gdb72 on amd64. It will be a software watchpoint,
and the program being debugged will run extremely slowly.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-09-23 03:50:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->skreuzer

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 luca.pizzamiglio 2011-10-28 15:59:08 UTC
Hi Ben,
unfortunately, the patch doesn't correctly apply, because in the
meanwhile the gdb version is updated and patch-gdb-Makefile.in is
changed.
Could you recreate the patch using the new port version?
Comment 3 Ben Morrow 2011-10-29 08:31:00 UTC
At  4PM +0200 on 28/10/11 you (Luca Pizzamiglio) wrote:
> Hi Ben,
> unfortunately, the patch doesn't correctly apply, because in the
> meanwhile the gdb version is updated and patch-gdb-Makefile.in is
> changed.
> Could you recreate the patch using the new port version?

Attached.

Ben
Comment 4 Steven Kreuzer freebsd_committer freebsd_triage 2012-01-11 23:15:01 UTC
Responsible Changed
From-To: skreuzer->freebsd-ports-bugs

kick this back into the pool. I don't have the time to test it
Comment 5 Michael Scheidell freebsd_committer freebsd_triage 2012-02-25 11:13:07 UTC
State Changed
From-To: open->closed

superseded by 165357