From 1368fa144ae6948044d2d28156a71d30fb807fd5 Mon Sep 17 00:00:00 2001 From: Themis Demetriades Date: Wed, 13 Nov 2024 18:57:02 +0000 Subject: [PATCH] Add debugging messages for probing multi-oom test case --- src/userprog/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/userprog/process.c b/src/userprog/process.c index 301bb66..27a46ba 100644 --- a/src/userprog/process.c +++ b/src/userprog/process.c @@ -327,7 +327,7 @@ void process_exit (void) { - printf("(%s) EXIT STATUS: %d\n", thread_name (), thread_current ()->exit_status); + printf("(%d) EXIT STATUS: %d\n", thread_current ()->tid, thread_current ()->exit_status); struct thread *cur = thread_current (); uint32_t *pd;