lkml.org 
[lkml]   [2006]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [discuss] Re: [PATCH 2/3] reliable stack trace support (x86-64)
Date

> >Maybe I'm dense but I still don't get - frame has a pt_regs so why
> >isn't the caller allowed to know about that fact?
>
> Because the fact that there is a regs fields and the PC is accessible through it is architecture specific, yet the
> caller (kernel/unwind.c) ought to be architecture independent.

I doubt we have any architecture where the instruction pointer is not in pt_regs,
but ok.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-18 14:28    [W:0.028 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site