Revision: | 2 |
Committed: | 2007-01-31T14:59:36-08:00 (18 years, 4 months ago) by douglas |
Content type: | text/x-c |
Original Path: | freebsd/gdb6/files/patch-target.c |
File size: | 357 byte(s) |
Log Message: | This needs fixing... |
# | User | Rev | Content |
---|---|---|---|
1 | douglas | 2 | --- gdb/target.c Mon Aug 26 12:18:33 2002 |
2 | +++ gdb/target.c Sun Oct 13 10:51:32 2002 | ||
3 | @@ -1429,7 +1429,7 @@ | ||
4 | for (t = target_structs; t < target_structs + target_struct_size; | ||
5 | ++t) | ||
6 | { | ||
7 | - if ((*t)->to_stratum == core_stratum) | ||
8 | + if ((*t)->to_stratum == (kernel_debugging ? kcore_stratum : core_stratum)) | ||
9 | { | ||
10 | runable = *t; | ||
11 | ++count; |