1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/avr/dist: setsid can be set with env variable

This commit is contained in:
Alexandre Abadie 2018-10-23 18:59:47 +02:00
parent 5b265088fe
commit 49967b2c4a
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
3 changed files with 15 additions and 3 deletions

View File

@ -1,6 +1,10 @@
#!/usr/bin/env bash
# The setsid command is needed so that Ctrl+C in GDB doesn't kill avarice
: ${SETSID:=setsid}
sleep 2
setsid -w avarice $1 &
${SETSID} -w avarice $1 &
#sleep 2 && $2/avr-gdb-wrapper -ex "target remote localhost:$3" $4
sleep 3 && avr-gdb -ex "target remote localhost:$3" $4

View File

@ -1,6 +1,10 @@
#!/usr/bin/env bash
# The setsid command is needed so that Ctrl+C in GDB doesn't kill avarice
: ${SETSID:=setsid}
sleep 2
setsid -w avarice $1 &
${SETSID} -w avarice $1 &
#sleep 2 && $2/avr-gdb-wrapper -ex "target remote localhost:$3" $4
sleep 3 && avr-gdb -ex "target remote localhost:$3" $4

View File

@ -1,6 +1,10 @@
#!/usr/bin/env bash
# The setsid command is needed so that Ctrl+C in GDB doesn't kill avarice
: ${SETSID:=setsid}
sleep 2
setsid -w avarice $1 &
${SETSID} -w avarice $1 &
#sleep 2 && $2/avr-gdb-wrapper -ex "target remote localhost:$3" $4
sleep 3 && avr-gdb -ex "target remote localhost:$3" $4