kernel:add a some information in backtraces.

* Display the pid and process name in the backtrace as we can
currently not read stackframes.

Change-Id: I2435d4098553c5b02adfe36f08b5aa3f47e9b531
This commit is contained in:
Kees Jongenburger 2013-01-02 16:54:00 +01:00
parent 09895f86fc
commit 75c515e5f8

View file

@ -204,6 +204,8 @@ void exception_handler(int is_nested, reg_t *saved_lr, int vector)
*===========================================================================*/
static void proc_stacktrace_execute(struct proc *whichproc, reg_t v_bp, reg_t pc)
{
printf("%-8.8s %6d 0x%lx \n",
whichproc->p_name, whichproc->p_endpoint, pc);
}
#endif