From f8685c3d74cf5150a31c37a4c5127abfcc7f1e39 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Fri, 24 Aug 2012 02:54:50 +0000 Subject: - Update to 7.5 - Remove patches integrated upstream PR: ports/170913 Submitted by: Luca Pizzammiglio (maintainer) Approved by: eadler (mentor) --- devel/gdb/files/patch-gdb-amd64fbsd-nat.c | 37 ++++--------------------------- 1 file changed, 4 insertions(+), 33 deletions(-) (limited to 'devel/gdb/files/patch-gdb-amd64fbsd-nat.c') diff --git a/devel/gdb/files/patch-gdb-amd64fbsd-nat.c b/devel/gdb/files/patch-gdb-amd64fbsd-nat.c index 12723c3af44b..42e1ccfdc9fd 100644 --- a/devel/gdb/files/patch-gdb-amd64fbsd-nat.c +++ b/devel/gdb/files/patch-gdb-amd64fbsd-nat.c @@ -1,6 +1,6 @@ ---- gdb/amd64fbsd-nat.c.orig 2010-02-03 15:30:25.000000000 +0000 -+++ gdb/amd64fbsd-nat.c 2011-09-23 03:08:51.942111416 +0100 -@@ -27,6 +27,7 @@ +--- gdb/amd64fbsd-nat.c.orig 2012-02-09 17:06:44.000000000 +0100 ++++ gdb/amd64fbsd-nat.c 2012-08-22 23:51:38.000000000 +0200 +@@ -26,6 +26,7 @@ #include #include #include @@ -8,16 +8,7 @@ #include #include #include -@@ -34,6 +35,8 @@ - #include "fbsd-nat.h" - #include "amd64-tdep.h" - #include "amd64-nat.h" -+#include "amd64bsd-nat.h" -+#include "i386-nat.h" - - - /* Offset in `struct reg' where MEMBER is stored. */ -@@ -92,6 +95,47 @@ +@@ -93,6 +94,47 @@ }; @@ -65,23 +56,3 @@ /* Support for debugging kernel virtual memory images. */ #include -@@ -155,6 +199,19 @@ - - /* Add some extra features to the common *BSD/i386 target. */ - t = amd64bsd_target (); -+ -+#ifdef HAVE_PT_GETDBREGS -+ -+ i386_use_watchpoints (t); -+ -+ i386_dr_low.set_control = amd64bsd_dr_set_control; -+ i386_dr_low.set_addr = amd64bsd_dr_set_addr; -+ i386_dr_low.reset_addr = amd64bsd_dr_reset_addr; -+ i386_dr_low.get_status = amd64bsd_dr_get_status; -+ i386_set_debug_register_length (8); -+ -+#endif /* HAVE_PT_GETDBREGS */ -+ - t->to_pid_to_exec_file = fbsd_pid_to_exec_file; - t->to_find_memory_regions = fbsd_find_memory_regions; - t->to_make_corefile_notes = fbsd_make_corefile_notes; -- cgit v1.2.3