Skip to content

Commit

Permalink
GDB screwed up messages now apply to all platforms, not just Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
haneefdm committed Aug 31, 2022
1 parent ca5869a commit 3a2079a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/backend/mi2/mi2.ts
Original file line number Diff line number Diff line change
@@ -176,9 +176,7 @@ export class MI2 extends EventEmitter implements IBackend {
if (!this.actuallyStarted) {
this.log('log', 'Error: Unable to start GDB even after 5 seconds or it couldn\'t even start ' +
'Make sure you can start gdb from the command-line and run any command like "echo hello".\n');
if (os.platform() === 'linux') {
this.log('log', ' If you cannot, it is most likely because "libncurses5" is not installed.\n');
}
this.log('log', ' If you cannot, it is most likely because "libncurses5" or "python" is not installed. Some GDBs require these\n');
}
}

0 comments on commit 3a2079a

Please sign in to comment.