Commit 2b7fde34 authored by Russ Cox's avatar Russ Cox

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

R=r
OCL=35736
CL=35746
parent 218a412e
...@@ -4,7 +4,7 @@ ...@@ -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\
......
...@@ -2,6 +2,9 @@ ...@@ -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 (
......
...@@ -4,7 +4,7 @@ ...@@ -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\
......
...@@ -2,13 +2,14 @@ ...@@ -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";
......
...@@ -6,7 +6,7 @@ package ogle ...@@ -6,7 +6,7 @@ package ogle
import ( import (
"debug/proc"; "debug/proc";
"eval"; "exp/eval";
"fmt"; "fmt";
"os"; "os";
) )
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
package main package main
import "ogle" import "exp/ogle"
func main() { func main() {
ogle.Main(); ogle.Main();
......
...@@ -8,7 +8,7 @@ import ( ...@@ -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";
......
...@@ -6,7 +6,7 @@ package ogle ...@@ -6,7 +6,7 @@ package ogle
import ( import (
"debug/proc"; "debug/proc";
"eval"; "exp/eval";
"reflect"; "reflect";
) )
......
...@@ -6,7 +6,7 @@ package ogle ...@@ -6,7 +6,7 @@ package ogle
import ( import (
"debug/proc"; "debug/proc";
"eval"; "exp/eval";
"fmt"; "fmt";
"log"; "log";
) )
......
...@@ -6,7 +6,7 @@ package ogle ...@@ -6,7 +6,7 @@ package ogle
import ( import (
"debug/proc"; "debug/proc";
"eval"; "exp/eval";
"fmt"; "fmt";
) )
......
...@@ -7,7 +7,7 @@ package ogle ...@@ -7,7 +7,7 @@ package ogle
import ( import (
"debug/gosym"; "debug/gosym";
"debug/proc"; "debug/proc";
"eval"; "exp/eval";
"log"; "log";
"os"; "os";
) )
......
...@@ -26,12 +26,10 @@ maketest() { ...@@ -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 ...@@ -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 $?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment