| 360 | } |
| 361 | |
| 362 | export interface GDBServerController extends EventEmitter { |
| 363 | portsNeeded: string[]; |
| 364 | name: string; |
| 365 | |
| 366 | setPorts(ports: { [name: string]: number }): void; |
| 367 | setArguments(args: ConfigurationArguments): void; |
| 368 | |
| 369 | customRequest(command: string, response: DebugProtocol.Response, args: any): boolean; |
| 370 | initCommands(): string[]; |
| 371 | launchCommands(): string[]; |
| 372 | attachCommands(): string[]; |
| 373 | restartCommands(): string[]; |
| 374 | allocateRTTPorts(): Promise<void>; |
| 375 | swoAndRTTCommands(): string[]; |
| 376 | serverExecutable(): string; |
| 377 | serverArguments(): string[]; |
| 378 | initMatch(): RegExp; |
| 379 | serverLaunchStarted(): void; |
| 380 | serverLaunchCompleted(): Promise<void> | void; |
| 381 | debuggerLaunchStarted(obj?: GDBDebugSession): void; |
| 382 | debuggerLaunchCompleted(): void; |
| 383 | rttPoll?(): void; |
| 384 | liveGdbInitCommands?(): string[]; |
| 385 | ctiStopResume?(action: CTIAction): void; |
| 386 | } |
| 387 | |
| 388 | export function genDownloadCommands(config: ConfigurationArguments, preLoadCmds: string[]) { |
| 389 | if (Array.isArray(config?.loadFiles)) { |
no outgoing calls
no test coverage detected