Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 38 for gdbcmd (0.24 sec)

  1. src/cmd/dist/build.go

    	if noOpt {
    		goCmd = append(goCmd, "-tags=noopt")
    	}
    	goCmd = appendCompilerFlags(goCmd)
    	if vflag > 0 {
    		goCmd = append(goCmd, "-v")
    	}
    
    	// Force only one process at a time on vx32 emulation.
    	if gohostos == "plan9" && os.Getenv("sysname") == "vx32" {
    		goCmd = append(goCmd, "-p=1")
    	}
    
    	runEnv(workdir, ShowOutput|CheckExit, env, append(goCmd, args...)...)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  2. src/cmd/doc/dirs.go

    	}
    
    	dirs.hist = make([]Dir, 0, 1000)
    	dirs.hist = append(dirs.hist, extra...)
    	dirs.scan = make(chan Dir)
    	go dirs.walk(codeRoots())
    }
    
    // goCmd returns the "go" command path corresponding to buildCtx.GOROOT.
    func goCmd() string {
    	if buildCtx.GOROOT == "" {
    		return "go"
    	}
    	return filepath.Join(buildCtx.GOROOT, "bin", "go")
    }
    
    // Reset puts the scan back at the beginning.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 17:49:12 UTC 2022
    - 9K bytes
    - Viewed (0)
  3. src/internal/trace/traceviewer/pprof.go

    			http.Error(w, fmt.Sprintf("failed to close temp file: %v", err), http.StatusInternalServerError)
    			return
    		}
    		svgFilename := blockf.Name() + ".svg"
    		if output, err := exec.Command(goCmd(), "tool", "pprof", "-svg", "-output", svgFilename, blockf.Name()).CombinedOutput(); err != nil {
    			http.Error(w, fmt.Sprintf("failed to execute go tool pprof: %v\n%s", err, output), http.StatusInternalServerError)
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:28:02 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. tools/docker-builder/dockerfile/parse.go

    // Command represents a single line (layer) in a Dockerfile.
    // For example `FROM ubuntu:xenial`
    type Command struct {
    	Cmd       string   // lowercased command name (ex: `from`)
    	SubCmd    string   // for ONBUILD only this holds the sub-command
    	JSON      bool     // whether the value is written in json form
    	Original  string   // The original source line
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. misc/go_android_exec/main.go

    	}
    	return exitCode, err2
    }
    
    func adb(args ...string) error {
    	if out, err := adbCmd(args...).CombinedOutput(); err != nil {
    		fmt.Fprintf(os.Stderr, "adb %s\n%s", strings.Join(args, " "), out)
    		return err
    	}
    	return nil
    }
    
    func adbCmd(args ...string) *exec.Cmd {
    	if flags := os.Getenv("GOANDROID_ADB_FLAGS"); flags != "" {
    		args = append(strings.Split(flags, " "), args...)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  6. src/cmd/internal/objabi/path_test.go

    }
    
    func TestRuntimePackageList(t *testing.T) {
    	// Test that all packages imported by the runtime are marked as runtime
    	// packages.
    	testenv.MustHaveGoBuild(t)
    	goCmd, err := testenv.GoTool()
    	if err != nil {
    		t.Fatal(err)
    	}
    	pkgList, err := exec.Command(goCmd, "list", "-deps", "runtime").Output()
    	if err != nil {
    		if err, ok := err.(*exec.ExitError); ok {
    			t.Log(string(err.Stderr))
    		}
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 13:56:25 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/vendor.go

    	}
    
    	if vendErrors.Len() > 0 {
    		subcmd := "mod"
    		if inWorkspaceMode() {
    			subcmd = "work"
    		}
    		base.Fatalf("go: inconsistent vendoring in %s:%s\n\n\tTo ignore the vendor directory, use -mod=readonly or -mod=mod.\n\tTo sync the vendor directory, run:\n\t\tgo %s vendor", filepath.Dir(VendorDir()), vendErrors, subcmd)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 24 18:09:22 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  8. src/cmd/go/internal/bug/bug.go

    	env = append(env, envcmd.ExtraEnvVarsCostly()...)
    	envcmd.PrintEnv(w, env, false)
    }
    
    func printGoDetails(w io.Writer) {
    	gocmd := filepath.Join(runtime.GOROOT(), "bin/go")
    	printCmdOut(w, "GOROOT/bin/go version: ", gocmd, "version")
    	printCmdOut(w, "GOROOT/bin/go tool compile -V: ", gocmd, "tool", "compile", "-V")
    }
    
    func printOSDetails(w io.Writer) {
    	switch runtime.GOOS {
    	case "darwin", "ios":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/savedir.go

    	"io/fs"
    	"log"
    	"os"
    	"path/filepath"
    	"strings"
    	"unicode/utf8"
    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go run savedir.go dir >saved.txt\n")
    	os.Exit(2)
    }
    
    const goCmd = "vgo"
    
    func main() {
    	flag.Usage = usage
    	flag.Parse()
    	if flag.NArg() != 1 {
    		usage()
    	}
    
    	log.SetPrefix("savedir: ")
    	log.SetFlags(0)
    
    	dir := flag.Arg(0)
    
    	a := new(txtar.Archive)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 30 19:41:54 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testsanitizers/libfuzzer_test.go

    			t.Parallel()
    
    			dir := newTempDir(t)
    			defer dir.RemoveAll(t)
    
    			// build Go code in libfuzzer mode to a c-archive
    			outPath := dir.Join(name)
    			archivePath := dir.Join(name + ".a")
    			mustRun(t, config.goCmd("build", "-buildmode=c-archive", "-o", archivePath, srcPath(tc.goSrc)))
    
    			// build C code (if any) and link with Go code
    			cmd, err := cc(config.cFlags...)
    			if err != nil {
    				t.Fatalf("error running cc: %v", err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 00:12:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top