summaryrefslogtreecommitdiff
path: root/devel/gdb52/files/patch-gdb_target.c
blob: 4eb3540c4482f46e92feae92db308d3cee6e2fb4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- gdb/target.c	Thu Jan 31 17:01:21 2002
+++ gdb/target.c	Mon May 27 18:16:52 2002
@@ -1361,7 +1361,7 @@
   for (t = target_structs; t < target_structs + target_struct_size;
        ++t)
     {
-      if ((*t)->to_stratum == core_stratum)
+      if ((*t)->to_stratum == (kernel_debugging ? kcore_stratum : core_stratum))
 	{
 	  runable = *t;
 	  ++count;