amixer/alsamixer - updated go scripts for debugging

This commit is contained in:
Jaroslav Kysela 2007-07-11 10:12:24 +02:00
parent 50d240e688
commit 8d0fb15b2b
2 changed files with 11 additions and 5 deletions

View file

@ -1,8 +1,10 @@
#!/bin/bash
#DBG="gdb --args"
#GDB="gdb --args"
GDB=""
ALSA_MIXER_SIMPLE_MODULES="$HOME/hg/alsa-lib/src/mixer/simple/.libs" \
ALSA_MIXER_SIMPLE_MODULES="$HOME/hg/alsa-lib/modules/mixer/simple/.libs" \
ALSA_MIXER_SIMPLE="$HOME/hg/alsa-lib/src/conf/smixer.conf" \
ALSA_MIXER_SIMPLE_MPYTHON="$HOME/hg/alsa-lib/modules/mixer/simple/python/main.py" \
LD_PRELOAD="$HOME/hg/alsa-lib/src/.libs/libasound.so" \
exec $DBG ./alsamixer "$@"
$GDB ./alsamixer "$@"

View file

@ -1,6 +1,10 @@
#!/bin/bash
ALSA_MIXER_SIMPLE_MODULES="$HOME/hg/alsa-lib/src/mixer/simple/.libs" \
#GDB="gdb --args"
GDB=""
ALSA_MIXER_SIMPLE_MODULES="$HOME/hg/alsa-lib/modules/mixer/simple/.libs" \
ALSA_MIXER_SIMPLE="$HOME/hg/alsa-lib/src/conf/smixer.conf" \
ALSA_MIXER_SIMPLE_MPYTHON="$HOME/hg/alsa-lib/modules/mixer/simple/python/main.py" \
LD_PRELOAD="$HOME/hg/alsa-lib/src/.libs/libasound.so" \
exec ./amixer "$@"
$GDB ./amixer "$@"