Prefer bundled python for windows/gdb
This commit is contained in:
parent
902ecef797
commit
4b83915335
@ -313,6 +313,7 @@ if test -n "$PACKAGE_GDB"; then
|
|||||||
cp -r ${SRCCACHE}/gdb12 $DESTDIR/gdb12
|
cp -r ${SRCCACHE}/gdb12 $DESTDIR/gdb12
|
||||||
cat > $DESTDIR/debug.bat << EOF
|
cat > $DESTDIR/debug.bat << EOF
|
||||||
set PYTHONPATH=%~dp0\gdb12\python3.10
|
set PYTHONPATH=%~dp0\gdb12\python3.10
|
||||||
|
set PATH=%~dp0\gdb12\;%PATH%
|
||||||
cd bin
|
cd bin
|
||||||
..\\gdb12\\gdb.exe -ex "set logging overwrite on" -ex "set height 0" -ex "set logging file %UserProfile%\\${PRODUCT_NAME}-debug.log" -ex "set logging enabled on" -ex "target exec ${PRODUCT_EXE}" -ex "run"
|
..\\gdb12\\gdb.exe -ex "set logging overwrite on" -ex "set height 0" -ex "set logging file %UserProfile%\\${PRODUCT_NAME}-debug.log" -ex "set logging enabled on" -ex "target exec ${PRODUCT_EXE}" -ex "run"
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user