aboutsummaryrefslogtreecommitdiff
path: root/devel/gdb6/files/patch-target.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gdb6/files/patch-target.c')
-rw-r--r--devel/gdb6/files/patch-target.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/gdb6/files/patch-target.c b/devel/gdb6/files/patch-target.c
new file mode 100644
index 000000000000..4eb3540c4482
--- /dev/null
+++ b/devel/gdb6/files/patch-target.c
@@ -0,0 +1,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;