OLD | NEW |
1 // Copyright 2014 The Go Authors. All rights reserved. | 1 // Copyright 2014 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 // Package program provides the portable interface to a program being debugged. | 5 // Package program provides the portable interface to a program being debugged. |
6 package program | 6 package program |
7 | 7 |
8 import ( | 8 import ( |
9 "io" | 9 "io" |
10 ) | 10 ) |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 // random access is a far more common pattern for things like symbol tables, | 80 // random access is a far more common pattern for things like symbol tables, |
81 // and because enormous address space of virtual memory makes routines | 81 // and because enormous address space of virtual memory makes routines |
82 // like io.Copy dangerous. | 82 // like io.Copy dangerous. |
83 type File interface { | 83 type File interface { |
84 io.ReaderAt | 84 io.ReaderAt |
85 io.WriterAt | 85 io.WriterAt |
86 io.Closer | 86 io.Closer |
87 } | 87 } |
88 | 88 |
89 type Status struct { | 89 type Status struct { |
90 » // TBD | 90 » PC, SP uint64 |
91 } | 91 } |
OLD | NEW |