aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rwxr-xr-xdebug/catchsegv.sh2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ea40d2a..ee4884d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1998-09-01 Ulrich Drepper <drepper@cygnus.com>
+
+ * debug/catchsegv.sh: Add one more pair of quotes.
+
1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-load.c (add_name_to_object): Change return type to void and
diff --git a/debug/catchsegv.sh b/debug/catchsegv.sh
index a813b6d..6ca404d 100755
--- a/debug/catchsegv.sh
+++ b/debug/catchsegv.sh
@@ -85,7 +85,7 @@ if test $exval -gt 128 && test -f "$segv_output"; then
sed '1,/Backtrace/d' "$segv_output" |
(while read line; do
case "$line" in
- [*) addr=`echo $line | sed 's/^\[\(.*\)\]$/\1/'`
+ [*) addr=`echo "$line" | sed 's/^\[\(.*\)\]$/\1/'`
complete=`addr2line -f -e "$prog" $addr 2>/dev/null`
if test $? -eq 0; then
echo "`echo "$complete"|sed 'N;s/\(.*\)\n\(.*\)/\2(\1)/;'`$line"