diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2020-05-14 06:58:55 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2020-05-14 06:58:55 +0000 |
commit | 7d17a58cefc2bffd3f8fdbae7b1fead9db7fbca0 (patch) | |
tree | 3422793834475518140585bfbb48d859a36a728c /sys | |
parent | f57fb0d0486d7aafc358ce2efaa001618a4eb084 (diff) |
Use '/t' on all architectures to get a trace via TID.
ok sthen@, patrick@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/amd64/amd64/db_trace.c | 4 | ||||
-rw-r--r-- | sys/arch/i386/i386/db_trace.c | 4 | ||||
-rw-r--r-- | sys/arch/powerpc/ddb/db_trace.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/amd64/amd64/db_trace.c b/sys/arch/amd64/amd64/db_trace.c index 34000b9fd3a..646d3d6100f 100644 --- a/sys/arch/amd64/amd64/db_trace.c +++ b/sys/arch/amd64/amd64/db_trace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_trace.c,v 1.52 2020/04/18 04:45:20 visa Exp $ */ +/* $OpenBSD: db_trace.c,v 1.53 2020/05/14 06:58:54 mpi Exp $ */ /* $NetBSD: db_trace.c,v 1.1 2003/04/26 18:39:27 fvdl Exp $ */ /* @@ -101,7 +101,7 @@ db_stack_trace_print(db_expr_t addr, int have_addr, db_expr_t count, char c; while ((c = *cp++) != 0) { - if (c == 'p') + if (c == 't') trace_proc = 1; if (c == 'u') kernel_only = 0; diff --git a/sys/arch/i386/i386/db_trace.c b/sys/arch/i386/i386/db_trace.c index 09c630d0a81..cdd31038e45 100644 --- a/sys/arch/i386/i386/db_trace.c +++ b/sys/arch/i386/i386/db_trace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_trace.c,v 1.41 2020/04/18 04:45:20 visa Exp $ */ +/* $OpenBSD: db_trace.c,v 1.42 2020/05/14 06:58:54 mpi Exp $ */ /* $NetBSD: db_trace.c,v 1.18 1996/05/03 19:42:01 christos Exp $ */ /* @@ -120,7 +120,7 @@ db_stack_trace_print(db_expr_t addr, int have_addr, db_expr_t count, char c; while ((c = *cp++) != 0) { - if (c == 'p') + if (c == 't') trace_proc = 1; if (c == 'u') kernel_only = 0; diff --git a/sys/arch/powerpc/ddb/db_trace.c b/sys/arch/powerpc/ddb/db_trace.c index 248d62be9d6..1f51b5df023 100644 --- a/sys/arch/powerpc/ddb/db_trace.c +++ b/sys/arch/powerpc/ddb/db_trace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_trace.c,v 1.16 2020/04/18 04:45:20 visa Exp $ */ +/* $OpenBSD: db_trace.c,v 1.17 2020/05/14 06:58:54 mpi Exp $ */ /* $NetBSD: db_trace.c,v 1.15 1996/02/22 23:23:41 gwr Exp $ */ /* @@ -126,7 +126,7 @@ db_stack_trace_print(db_expr_t addr, int have_addr, db_expr_t count, int i, narg, trace_proc = 0; while ((c = *cp++) != 0) { - if (c == 'p') + if (c == 't') trace_proc = 1; } |