mrdb: fix that break command cannot handle Windows paths

Before fix:
```
$ mrdb c:\tmp\b.rb
(c:\tmp\b.rb:1) break c:\tmp\b.rb:3
Class name 'c' is invalid.
```

After fix:
```
$ mrdb c:\tmp\b.rb
(c:\tmp\b.rb:1) break c:\tmp\b.rb:3
Breakpoint 1: file c:\tmp\b.rb, line 3.
```
This commit is contained in:
sdottaka
2014-12-20 08:32:28 +09:00
parent 10e9a1a167
commit 80a742df51
@@ -256,7 +256,7 @@ parse_breakcommand(mrdb_state *mrdb, const char **file, uint32_t *line, char **c
}
args = mrdb->words[1];
if((body = strchr(args, ':')) == NULL) {
if((body = strrchr(args, ':')) == NULL) {
body = args;
type = check_bptype(body);
} else {