Since changes in xds-server, stdin parameter is now a []byte and no longer
a string (see commit
17812a0a in xds-serve repo).
Change-Id: I3beac02fafb317b404dac250525ac5d4cbe7dd1e
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
// Write writes message/string into gdb stdin
func (g *GdbXds) Write(args ...interface{}) error {
- return g.ioSock.Emit(xaapiv1.ExecInEvent, args...)
+ s := fmt.Sprint(args...)
+ return g.ioSock.Emit(xaapiv1.ExecInEvent, []byte(s))
}
// SendSignal is used to send a signal to remote process/gdb