aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2013-11-15 18:59:09 +0100
committerSverker Eriksson <[email protected]>2013-11-15 18:59:09 +0100
commit22b3a285aadffdb02f04230b78c167f52f7d7bc1 (patch)
tree9d225b48a4946a2b71c715c3babb222d75ca3fc9
parente582b503931e5644a9e8d5e7cfe7e00ce60d9f66 (diff)
parentf07816ab2826d2a4082442f1d8ca71b7bfb89a47 (diff)
downloadotp-22b3a285aadffdb02f04230b78c167f52f7d7bc1.tar.gz
otp-22b3a285aadffdb02f04230b78c167f52f7d7bc1.tar.bz2
otp-22b3a285aadffdb02f04230b78c167f52f7d7bc1.zip
Merge branch 'maint'
-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)"
;;