mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 01:27:16 +08:00
*: FreeBSD initial support (#1480)
* FreeBSD initial support * first code review fixes * regs slice upd * execPtraceFunc wrap * disabled concurrency tests fixed kill() issue * disabled concurrency tests fixed kill() issue * cleanup vendor related code * cleanup ptrace calls * vendoring latest changes * Revert "vendoring latest changes" This reverts commit 833cb87b * vendoring latest changes * requested changes
This commit is contained in:
committed by
Derek Parker
parent
114b76aefc
commit
df65be43ae
@ -37,6 +37,10 @@ func platformCases() []tCase {
|
||||
// Should be case-sensitive
|
||||
{[]tRule{{"/tmp/path", "/new/path2"}}, "/TmP/path/file.go", "/TmP/path/file.go"},
|
||||
}
|
||||
casesFreebsd := []tCase{
|
||||
// Should be case-sensitive
|
||||
{[]tRule{{"/tmp/path", "/new/path2"}}, "/TmP/path/file.go", "/TmP/path/file.go"},
|
||||
}
|
||||
casesDarwin := []tCase{
|
||||
// Can be either case-sensitive or case-insensitive depending on
|
||||
// filesystem settings, we always treat it as case-sensitive.
|
||||
@ -63,6 +67,9 @@ func platformCases() []tCase {
|
||||
if runtime.GOOS == "linux" {
|
||||
return append(casesUnix, casesLinux...)
|
||||
}
|
||||
if runtime.GOOS == "freebsd" {
|
||||
return append(casesUnix, casesFreebsd...)
|
||||
}
|
||||
return casesUnix
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user