freebsd-ports/devel/gdb66/files/patch-gdb_target.c
David E. O'Brien 6c607990c6 Grrrr, these patches were obviously not tested on Alpha. :-(
There is NO kernel debugging for anything other than i386.
2002-06-28 20:38:23 +00:00

14 lines
425 B
C

--- gdb/target.c.orig Thu Jan 31 17:01:21 2002
+++ gdb/target.c Fri Jun 7 16:36:06 2002
@@ -1361,7 +1361,11 @@
for (t = target_structs; t < target_structs + target_struct_size;
++t)
{
+#if defined(__FreeBSD__) && defined(__i386__)
+ if ((*t)->to_stratum == (kernel_debugging ? kcore_stratum : core_stratum))
+#else
if ((*t)->to_stratum == core_stratum)
+#endif
{
runable = *t;
++count;