Extract call stack from running machine.
authorKeith Packard <keithp@keithp.com>
Sun, 28 Dec 2008 08:04:33 +0000 (00:04 -0800)
committerKeith Packard <keithp@keithp.com>
Wed, 29 Apr 2009 18:10:10 +0000 (11:10 -0700)
commit4a8ba0366252ad9aeae9b12f019e38ac4e22c980
treef1710dea09273746bfe0bfb938ec42816bfe609c
parente702c79af416db306adb67f12194e9c4dc285a04
Extract call stack from running machine.

This replaces the breakpoint-managed call stack with code that reads the
stack from the target to compute it. The stack depth is computed by a
breadth-first walk of the instructions looking for a return instruction
computing the aggregate stack pointer change.
debugger/mcs51/break.c
debugger/mcs51/cmd.c
debugger/mcs51/sdcdb.c
debugger/mcs51/sdcdb.h
debugger/mcs51/simi.c
debugger/mcs51/simi.h