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:
parent
5b265088fe
commit
49967b2c4a
6
boards/common/arduino-atmega/dist/debug.sh
vendored
6
boards/common/arduino-atmega/dist/debug.sh
vendored
@ -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
|
||||
|
||||
|
6
boards/mega-xplained/dist/debug.sh
vendored
6
boards/mega-xplained/dist/debug.sh
vendored
@ -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
|
||||
|
||||
|
6
boards/waspmote-pro/dist/debug.sh
vendored
6
boards/waspmote-pro/dist/debug.sh
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user