diff --git a/cmd/dlv/main.go b/cmd/dlv/main.go index bb0bd859..98ec04bc 100644 --- a/cmd/dlv/main.go +++ b/cmd/dlv/main.go @@ -162,7 +162,7 @@ func parseCommand(cmdstr string) (string, []string) { } func (t *term) promptForInput() (string, error) { - prompt := "dlv> " + prompt := "(dlv) " linep := goreadline.ReadLine(&prompt) if linep == nil { return "", io.EOF diff --git a/command/command.go b/command/command.go index deae0084..6d83b3ce 100644 --- a/command/command.go +++ b/command/command.go @@ -269,7 +269,7 @@ func printcontext(p *proctl.DebuggedProcess) error { f, l, fn := p.GoSymTable.PCToLine(regs.PC()) if fn != nil { - fmt.Printf("Stopped at: %s:%d\n", f, l) + fmt.Printf("current loc: %s %s:%d\n", fn.Name, f, l) file, err := os.Open(f) if err != nil { return err