Replace GET_FRAME_START with get_caller_fp()
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 9 Oct 2018 20:07:28 +0000 (16:07 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 9 Oct 2018 21:45:56 +0000 (17:45 -0400)
commit5c44cab91e347f8b0bbaef9e4823c56a4ce1b3f4
tree32bfe6fad60335d36741e375c53f54405c5ec307
parentfce2e83252b0ec9eb1c582ca8d8e3a778ff08f07
Replace GET_FRAME_START with get_caller_fp()

We already had get_caller_pc() and just needed to get the caller's frame
pointer for backtraces.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/arch/riscv/kdebug.h
kern/arch/x86/kdebug.c
kern/arch/x86/kdebug.h