Skip to content

Conversation

@tmcgilchrist
Copy link
Owner

DWARF expressions use a mini stack machine for computing variable locations. Debuggers evaluate them step-by-step, pausing when they need external data (registers, memory, CFA), and the callback pattern makes this elegant and architecture-independent. Here we implement just enough to support building a debugger which evaluates expressions and provides data to the Requires* callbacks.

DWARF expressions use a mini stack machine for computing variable
locations. Debuggers evaluate them step-by-step, pausing when they
need external data (registers, memory, CFA), and the callback pattern
makes this elegant and architecture-independent. Here we implement
just enough to support building a debugger which evaluates expressions
and provides data to the Requires* callbacks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants