summaryrefslogtreecommitdiff
path: root/debian/patches/0002-ddb-print-task-names-if-available.patch
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-06-11 13:38:08 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-06-11 13:38:08 +0200
commitbf0d902364cde54891d3323b09b862e46ffd2ee0 (patch)
treeff5d333f7790afc83d1ab280df794387425c7376 /debian/patches/0002-ddb-print-task-names-if-available.patch
parent93bdd69afb58595b3c904e422f856f6bab987e6f (diff)
drop merged patches
Diffstat (limited to 'debian/patches/0002-ddb-print-task-names-if-available.patch')
-rw-r--r--debian/patches/0002-ddb-print-task-names-if-available.patch48
1 files changed, 0 insertions, 48 deletions
diff --git a/debian/patches/0002-ddb-print-task-names-if-available.patch b/debian/patches/0002-ddb-print-task-names-if-available.patch
deleted file mode 100644
index 266fd71..0000000
--- a/debian/patches/0002-ddb-print-task-names-if-available.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From 3620701499791df6f2d1ebaa378a5a9ece21f99c Mon Sep 17 00:00:00 2001
-From: Justus Winter <4winter@informatik.uni-hamburg.de>
-Date: Mon, 9 Jun 2014 15:15:58 +0200
-Subject: [PATCH 2/6] ddb: print task names if available
-
-* ddb/db_print.c (db_print_task): Print task name if available.
-* i386/i386/db_interface.c (db_task_name): Likewise.
----
- ddb/db_print.c | 7 ++++++-
- i386/i386/db_interface.c | 4 ++--
- 2 files changed, 8 insertions(+), 3 deletions(-)
-
-diff --git a/ddb/db_print.c b/ddb/db_print.c
-index c015d84..1cbff64 100644
---- a/ddb/db_print.c
-+++ b/ddb/db_print.c
-@@ -258,7 +258,12 @@ db_print_task(
- } else {
- if (flag & OPTION_TASK_TITLE)
- db_printf(" TASK THREADS\n");
-- db_printf("%3d (%0*X): ", task_id, 2*sizeof(vm_offset_t), task);
-+ if (task->name[0])
-+ db_printf("%3d %s (%0*X): ", task_id, task->name,
-+ 2*sizeof(vm_offset_t), task);
-+ else
-+ db_printf("%3d (%0*X): ", task_id,
-+ 2*sizeof(vm_offset_t), task);
- if (task->thread_count == 0) {
- db_printf("no threads\n");
- } else {
-diff --git a/i386/i386/db_interface.c b/i386/i386/db_interface.c
-index 1337685..b442b86 100644
---- a/i386/i386/db_interface.c
-+++ b/i386/i386/db_interface.c
-@@ -730,8 +730,8 @@ db_task_name(
- vm_offset_t vaddr, kaddr;
- unsigned sp;
-
-- if (task->map->pmap == kernel_pmap) {
-- db_printf(DB_GNUMACH_TASK_NAME);
-+ if (task->name[0]) {
-+ db_printf("%s", task->name);
- return;
- }
-
---
-2.0.0
-