From 0ac02254c703ff7692e92cf2fd1deb6ec467600a Mon Sep 17 00:00:00 2001 From: yangxx Date: Fri, 29 Aug 2003 16:50:24 +0000 Subject: [PATCH] git-svn-id: http://ltt.polymtl.ca/svn@214 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/state.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ltt/branches/poly/lttv/state.c b/ltt/branches/poly/lttv/state.c index 1a79246e..a76918a2 100644 --- a/ltt/branches/poly/lttv/state.c +++ b/ltt/branches/poly/lttv/state.c @@ -317,6 +317,7 @@ LttvProcessState *create_process(LttvTracefileState *tfs, g_hash_table_insert(tcs->processes, GUINT_TO_POINTER(pid), process); process->pid = pid; + if(parent) process->ppid = parent->pid; process->birth = tfc->timestamp; process->name = LTTV_STATE_UNNAMED; process->interrupt_stack = g_array_new(FALSE, FALSE, -- 2.34.1