1
0
mirror of https://github.com/golang/go synced 2024-11-22 07:44:43 -07:00

move austin/eval and austin/ogle to exp/eval and exp/ogle

R=r
OCL=35736
CL=35746
This commit is contained in:
Russ Cox 2009-10-14 18:10:43 -07:00
parent 218a412e73
commit 2b7fde3406
34 changed files with 26 additions and 13 deletions

View File

@ -4,7 +4,7 @@
include $(GOROOT)/src/Make.$(GOARCH) include $(GOROOT)/src/Make.$(GOARCH)
TARG=eval TARG=exp/eval
GOFILES=\ GOFILES=\
abort.go\ abort.go\
bridge.go\ bridge.go\

View File

@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// This package is the beginning of an interpreter for Go.
// It can run simple Go programs but does not implement
// interface values or packages.
package eval package eval
import ( import (

View File

@ -4,7 +4,7 @@
include $(GOROOT)/src/Make.$(GOARCH) include $(GOROOT)/src/Make.$(GOARCH)
TARG=ogle TARG=exp/ogle
GOFILES=\ GOFILES=\
abort.go\ abort.go\
arch.go\ arch.go\

View File

@ -2,13 +2,14 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// Ogle is the beginning of a debugger for Go.
package ogle package ogle
import ( import (
"bufio"; "bufio";
"debug/elf"; "debug/elf";
"debug/proc"; "debug/proc";
"eval"; "exp/eval";
"fmt"; "fmt";
"go/scanner"; "go/scanner";
"go/token"; "go/token";

View File

@ -6,7 +6,7 @@ package ogle
import ( import (
"debug/proc"; "debug/proc";
"eval"; "exp/eval";
"fmt"; "fmt";
"os"; "os";
) )

View File

@ -4,7 +4,7 @@
package main package main
import "ogle" import "exp/ogle"
func main() { func main() {
ogle.Main(); ogle.Main();

View File

@ -8,7 +8,7 @@ import (
"debug/elf"; "debug/elf";
"debug/gosym"; "debug/gosym";
"debug/proc"; "debug/proc";
"eval"; "exp/eval";
"fmt"; "fmt";
"log"; "log";
"os"; "os";

View File

@ -6,7 +6,7 @@ package ogle
import ( import (
"debug/proc"; "debug/proc";
"eval"; "exp/eval";
"reflect"; "reflect";
) )

View File

@ -6,7 +6,7 @@ package ogle
import ( import (
"debug/proc"; "debug/proc";
"eval"; "exp/eval";
"fmt"; "fmt";
"log"; "log";
) )

View File

@ -6,7 +6,7 @@ package ogle
import ( import (
"debug/proc"; "debug/proc";
"eval"; "exp/eval";
"fmt"; "fmt";
) )

View File

@ -7,7 +7,7 @@ package ogle
import ( import (
"debug/gosym"; "debug/gosym";
"debug/proc"; "debug/proc";
"eval"; "exp/eval";
"log"; "log";
"os"; "os";
) )

View File

@ -26,12 +26,10 @@ maketest() {
maketest \ maketest \
pkg \ pkg \
../usr/austin/eval \
# all of these are subtly different # all of these are subtly different
# from what maketest does. # from what maketest does.
(xcd pkg/sync; (xcd pkg/sync;
make clean; make clean;
time make time make
@ -55,7 +53,18 @@ make clean
./test.bash ./test.bash
) || exit $? ) || exit $?
(xcd ../usr/austin/ogle (xcd ../usr/r/rpc
make clean
time make
./chanrun
) || exit $?
(xcd ../usr/dsymonds/iterable
make clean
time make test
) || exit $?
(xcd pkg/exp/ogle
make clean make clean
time make ogle time make ogle
) || exit $? ) || exit $?