debug/gdb: fix for psim build failure due to -lz in gdb-7.2.
Signed-off-by: "Horst Kronstorfer" <horst.kronstorfer@aon.at>
[yann.morin.1998@anciens.enib.fr: fix space-damage]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2 # Needed for systems without gettext
3 $* -xc -o /dev/null - > /dev/null 2>&1 << EOF
11 if [ ! "$?" -eq "0" ]; then