-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'topic/vadim/win' into 'master'
Fix GDBPP test on Windows See merge request eng/ide/VSS!332
- Loading branch information
Showing
4 changed files
with
68 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
set logging redirect on | ||
set logging file NUL | ||
set logging enabled on | ||
# Redirecting of the output to file and enable logging send all GDB's output | ||
# into the file. Logging is disabled a bit later when output of the | ||
# 'output'/'echo' commands need to be output to the standard output to check | ||
# with expected results. | ||
|
||
source vss_pp.py | ||
|
||
start | ||
set charset UTF-8 | ||
next | ||
next | ||
next | ||
next | ||
next | ||
|
||
set logging enabled off | ||
output ss1 | ||
echo \n | ||
output us1 | ||
echo \n | ||
output vsn | ||
echo \n | ||
output vs1 | ||
echo \n | ||
output vs2 | ||
echo \n | ||
output vi1 | ||
echo \n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
gprbuild -q -P test.gpr | ||
gdb --batch --command=gdbinit --directory=$VSS_GDBPP .objs/main | ||
if [ "$OS" = "Windows_NT" ]; then | ||
gdb --batch --command=gdbinit.windows --directory=$VSS_GDBPP .objs/main | ||
else | ||
gdb --batch --command=gdbinit.posix --directory=$VSS_GDBPP .objs/main | ||
fi |