Talk:Stack Trace

From OSDev Wiki
Jump to: navigation, search

Nice article. I think it should say something about the compiler need to output stack frames for all functions, else walking the stack will fail in some way. The assumption is that EBP (the stack frame pointer) is always saved on the stack for a call. An extended stack walking routine could take DWARF or other debugging information into account to determine the last stack frame. - Walling 19:25, 15 March 2009 (UTC)


I didn't find this code to work, so I've added an implementation in assembly which gets the right values for me. - Synon 12:08, 7 January 2018 (CST)

Personal tools
Namespaces
Variants
Actions
Navigation
About
Toolbox