various fixes

This commit is contained in:
Giacomo Tesio 2017-01-20 01:54:11 +01:00
parent 7d54956ba2
commit ded9ac9fb9
13 changed files with 59 additions and 2 deletions

4
QA.sh
View File

@ -1,5 +1,9 @@
#!/bin/bash
# This file is part of Jehanne.
#
# Copyright (C) 2016-2017 Giacomo Tesio <giacomo@tesio.it>
if [ "$JEHANNE" = "" ]; then
echo ./hacking/QA.sh requires the shell started by ./hacking/devshell.sh
exit 1

View File

@ -34,7 +34,7 @@ define jhn-log-syscalls
end
end
define jhn-break-errors
define jhn-log-errors
b errorl
commands
jhn-print-with-context
@ -104,7 +104,11 @@ define jhn-break-pid
end
define jhn-connect
target remote :1234
if $argc == 1
target remote $arg0
else
target remote :1234
end
printf "connected to QEMU\n"
if $pc == waitdebugger+22
set var c = 1

View File

@ -1,5 +1,9 @@
#!/bin/bash
# This file is part of Jehanne.
#
# Copyright (C) 2016-2017 Giacomo Tesio <giacomo@tesio.it>
BUILD_GO_TOOLS=true
BUILD_DRAWTERM=true

View File

@ -1,4 +1,9 @@
#!/bin/bash
# This file is part of Jehanne.
#
# Copyright (C) 2016-2017 Giacomo Tesio <giacomo@tesio.it>
set -e
if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then

View File

@ -1,4 +1,9 @@
#!/bin/bash
# This file is part of Jehanne.
#
# Copyright (C) 2016-2017 Giacomo Tesio <giacomo@tesio.it>
set -e
cd `dirname $0`

View File

@ -1,4 +1,9 @@
#!/bin/bash
# This file is part of Jehanne.
#
# Copyright (C) 2016-2017 Giacomo Tesio <giacomo@tesio.it>
export JEHANNE=`git rev-parse --show-toplevel`
export PATH="$JEHANNE/hacking/bin:$PATH"
export PATH="$JEHANNE/hacking/cross/toolchain/bin:$PATH"

View File

@ -1,5 +1,10 @@
#!/bin/bash
# This file is part of Jehanne.
#
# Copyright (C) 2016-2017 Giacomo Tesio <giacomo@tesio.it>
if [ "$JEHANNE" = "" ]; then
echo $0 requires the shell started by ./hacking/devshell.sh
exit 1

View File

@ -1,5 +1,9 @@
#!/bin/bash
# This file is part of Jehanne.
#
# Copyright (C) 2016-2017 Giacomo Tesio <giacomo@tesio.it>
if [ "$JEHANNE" = "" ]; then
echo $0 requires the shell started by ./hacking/devshell.sh
exit 1

View File

@ -1,5 +1,9 @@
#!/bin/bash
# This file is part of Jehanne.
#
# Copyright (C) 2016-2017 Giacomo Tesio <giacomo@tesio.it>
if [ "$JEHANNE" = "" ]; then
echo $0 requires the shell started by ./hacking/devshell.sh
exit 1

View File

@ -1,5 +1,10 @@
#!/bin/bash
# This file is part of Jehanne.
#
# Copyright (C) 2016-2017 Giacomo Tesio <giacomo@tesio.it>
if [ "$JEHANNE" = "" ]; then
echo $0 requires the shell started by ./hacking/devshell.sh
exit 1

View File

@ -1,5 +1,9 @@
#!/bin/bash
# This file is part of Jehanne.
#
# Copyright (C) 2016-2017 Giacomo Tesio <giacomo@tesio.it>
if [ "$JEHANNE" = "" ]; then
echo ./hacking/drawterm.sh requires the shell started by ./hacking/devshell.sh
exit 1

View File

@ -1,5 +1,9 @@
#!/bin/sh
# This file is part of Jehanne.
#
# Copyright (C) 2016-2017 Giacomo Tesio <giacomo@tesio.it>
export SDL_VIDEO_X11_DGAMOUSE=0 # see https://wiki.archlinux.org/index.php/QEMU#Mouse_cursor_is_jittery_or_erratic
if [ "$JEHANNE" = "" ]; then

View File

@ -1,5 +1,9 @@
#!/bin/sh
# This file is part of Jehanne.
#
# Copyright (C) 2016-2017 Giacomo Tesio <giacomo@tesio.it>
export SDL_VIDEO_X11_DGAMOUSE=0 # see https://wiki.archlinux.org/index.php/QEMU#Mouse_cursor_is_jittery_or_erratic
if [ "$JEHANNE" = "" ]; then