
Adds initial support for plugins, this is only the code needed to keep track of loaded plugins on linux (both native and gdbserial backend). It does not actually implement support for debugging plugins on linux. Updates #865
14 lines
145 B
Go
14 lines
145 B
Go
package main
|
|
|
|
import "fmt"
|
|
|
|
func Fn1() string {
|
|
return "hello"
|
|
}
|
|
|
|
func HelloFn(n int) string {
|
|
n++
|
|
s := fmt.Sprintf("hello%d", n)
|
|
return s
|
|
}
|