Don't include the kernel target. This is handled in kgdb separately.
authorSimon Schubert <corecode@dragonflybsd.org>
Tue, 21 Aug 2007 19:55:23 +0000 (19:55 +0000)
committerSimon Schubert <corecode@dragonflybsd.org>
Tue, 21 Aug 2007 19:55:23 +0000 (19:55 +0000)
On-behalf-of:  Noah Yan <noah.yan@gmail.com>
Submitted-by: Noah Yan <noah.yan@gmail.com>
gnu/usr.bin/gdb/libgdb/Makefile.amd64
gnu/usr.bin/gdb/libgdb/patches/amd64fbsd-nat.c.patch [new file with mode: 0644]

index 010b4d5..91fc1d0 100644 (file)
@@ -1,6 +1,6 @@
-# $DragonFly: src/gnu/usr.bin/gdb/libgdb/Makefile.amd64,v 1.2 2006/07/27 00:30:10 corecode Exp $
+# $DragonFly: src/gnu/usr.bin/gdb/libgdb/Makefile.amd64,v 1.3 2007/08/21 19:55:23 corecode Exp $
 
-SRCS+= amd64-nat.c amd64-tdep.c amd64bsd-nat.c amd64fbsd-nat.c bsd-kvm.c
+SRCS+= amd64-nat.c amd64-tdep.c amd64bsd-nat.c amd64fbsd-nat.c
 SRCS+= amd64fbsd-tdep.c i386-tdep.c i386bsd-tdep.c i386fbsd-tdep.c
 SRCS+= i387-tdep.c
 
diff --git a/gnu/usr.bin/gdb/libgdb/patches/amd64fbsd-nat.c.patch b/gnu/usr.bin/gdb/libgdb/patches/amd64fbsd-nat.c.patch
new file mode 100644 (file)
index 0000000..bb0ea26
--- /dev/null
@@ -0,0 +1,11 @@
+$DragonFly: src/gnu/usr.bin/gdb/libgdb/patches/Attic/amd64fbsd-nat.c.patch,v 1.1 2007/08/21 19:55:23 corecode Exp $
+--- /usr/src/contrib/gdb-6.2.1/gdb/amd64fbsd-nat.c     2004-10-24 14:56:24.000000000 -0500
++++ amd64fbsd-nat.c    2007-07-28 22:03:20.000000000 -0500
+@@ -219,7 +219,4 @@
+       amd64fbsd_sigtramp_end_addr = ps_strings;
+       }
+   }
+-
+-  /* Support debugging kernel virtual memory images.  */
+-  bsd_kvm_add_target (amd64fbsd_supply_pcb);
+ }