Implement stack command

Finishes #63 #64
This commit is contained in:
aarzilli
2015-06-17 19:11:57 +02:00
committed by Derek Parker
parent cc5e5c780c
commit 07473f04c5
14 changed files with 371 additions and 40 deletions

View File

@ -41,6 +41,13 @@ type Thread struct {
Function *Function `json:"function,omitempty"`
}
type Location struct {
PC uint64 `json:"pc"`
File string `json:"file"`
Line int `json:"line"`
Function *Function `json:"function,omitempty"`
}
// Function represents thread-scoped function information.
type Function struct {
// Name is the function name.