Modify cl ui a bit

This commit is contained in:
Derek Parker 2014-12-02 12:40:53 -06:00
parent 5ece8d3b69
commit 93d62e450e
2 changed files with 2 additions and 2 deletions

@ -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

@ -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