From 75c422b3a8c2eecc403f14a00e14f7675149dd07 Mon Sep 17 00:00:00 2001 From: Wichert Akkerman Date: Tue, 10 Apr 2001 10:22:50 +0000 Subject: [PATCH] add code to print PC for MIPS --- util.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/util.c b/util.c index db5408e9..19a24e48 100644 --- a/util.c +++ b/util.c @@ -996,6 +996,14 @@ struct tcb *tcp; return; } tprintf("[%08lx] ", pc); +#elif defined(MIPS) + long pc; + + if (upeek(tcp->pid, REG_EPC, &pc) < 0) { + tprintf ("[????????] "); + return; + } + tprintf("[%08lx] ", pc); #endif /* !architecture */ #endif /* LINUX */ -- 2.50.1