Feature #1731
GDB - MingGW : Display output of target application in a separate console
Status: | Rejected | Start date: | 05/28/2017 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Zbigniew Rebacz | % Done: | 0% | |
Category: | Debugger | Spent time: | - | |
Target version: | - |
Description
the command "set new-console on" is mswindows specific, it allows the output redirection of the program to a new console.
the patch then in Gdb.cpp:
bool Gdb::Create(One<Host>&& _host, const String& exefile, const String& cmdline, bool console) { .... Cmd("set prompt " GDB_PROMPT); Cmd("set disassembly-flavor intel"); Cmd("set exec-done-display off"); Cmd("set annotate 1"); Cmd("set height 0"); Cmd("set width 0"); Cmd("set confirm off"); Cmd("set print asm-demangle"); Cmd("set print static-members off"); Cmd("set print vtbl off"); Cmd("set print repeat 0"); Cmd("set print null-stop"); Cmd("set new-console on"); // LINE ADDED .... }
Related issues
History
#1 Updated by Abdelghani Omari almost 8 years ago
- Category set to Debugger
#2 Updated by Zbigniew Rebacz almost 8 years ago
If it is mswindows specific then why not use:
#ifdef PLATFORM_WINDOWS #endif
?
#4 Updated by Zbigniew Rebacz almost 8 years ago
- Target version deleted (
Release 2017.2)
#5 Updated by Zbigniew Rebacz almost 8 years ago
- Duplicates Bug #1370: cmd.exe dosent' apper when debugging with mingw debuger added
#6 Updated by Zbigniew Rebacz almost 8 years ago
- Status changed from Patch ready to Rejected
- Assignee changed from Miroslav Fidler to Zbigniew Rebacz
Rejected due to duplication with #1370.