Rename function for clarity

This commit is contained in:
Derek Parker
2014-06-26 20:36:39 -05:00
parent 7fe2037ff1
commit d86639593a

View File

@ -24,7 +24,7 @@ func DebugCommands() *Commands {
cmds := map[string]cmdfunc{
"exit": exitFunc,
"continue": cont,
"break": br,
"break": breakpoint,
"step": step,
"clear": clear,
"": nullCommand,
@ -111,7 +111,7 @@ func clear(p *proctl.DebuggedProcess, args ...string) error {
return nil
}
func br(p *proctl.DebuggedProcess, args ...string) error {
func breakpoint(p *proctl.DebuggedProcess, args ...string) error {
var (
fn *gosym.Func
pc uint64