aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2013-11-15 18:55:46 +0100
committerSverker Eriksson <[email protected]>2013-11-15 18:55:46 +0100
commitf07816ab2826d2a4082442f1d8ca71b7bfb89a47 (patch)
tree4d387ac9cc1af543f255af315555e56a81ccd048 /erts/etc
parentd7c2b664bee2b869c923ff45f9a95e2f873c05ad (diff)
parent6a47cdc863ebb1bcdaf6d183cf40da67911f3fd0 (diff)
downloadotp-f07816ab2826d2a4082442f1d8ca71b7bfb89a47.tar.gz
otp-f07816ab2826d2a4082442f1d8ca71b7bfb89a47.tar.bz2
otp-f07816ab2826d2a4082442f1d8ca71b7bfb89a47.zip
Merge branch 'sverk/cerl-gdb-fix' into maint
* sverk/cerl-gdb-fix: erts: Fix cerl -gdb
Diffstat (limited to 'erts/etc')
-rw-r--r--erts/etc/unix/cerl.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/etc/unix/cerl.src b/erts/etc/unix/cerl.src
index 38c6dd037f..be8343e87e 100644
--- a/erts/etc/unix/cerl.src
+++ b/erts/etc/unix/cerl.src
@@ -346,7 +346,7 @@ elif [ "x$GDB" = "xegdb" ]; then
case "x$core" in
x)
# Get emu args to use from erlexec...
- beam_args=`$EXEC -emu_args_exit ${1+"$@"}`
+ beam_args=`$EXEC -emu_args_exit ${1+"$@"} | tr '\n' ' '`
gdbcmd="(insert-string \"set args $beam_args\") \
(comint-send-input)"
;;