aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2013-10-08 19:26:20 +0200
committerSverker Eriksson <[email protected]>2013-11-13 17:41:30 +0100
commit6a47cdc863ebb1bcdaf6d183cf40da67911f3fd0 (patch)
treef1d00697a4775e0b9bfc9ce75d6c3dc98a9c6439 /erts
parent20641fe0f2ea745873fc7557448d3a7deb1bd639 (diff)
downloadotp-6a47cdc863ebb1bcdaf6d183cf40da67911f3fd0.tar.gz
otp-6a47cdc863ebb1bcdaf6d183cf40da67911f3fd0.tar.bz2
otp-6a47cdc863ebb1bcdaf6d183cf40da67911f3fd0.zip
erts: Fix cerl -gdb
by replacing all newlines in $beam_args with space
Diffstat (limited to 'erts')
-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 41baa323ed..2d18b9f310 100644
--- a/erts/etc/unix/cerl.src
+++ b/erts/etc/unix/cerl.src
@@ -339,7 +339,7 @@ else
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)"
;;