projects
/
platform
/
upstream
/
linaro-gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de0e5a5
)
Don't exit mksysinfo.sh if there is no _user_regs_struct.
author
ian
<ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Jan 2011 20:23:19 +0000
(20:23 +0000)
committer
ian
<ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Jan 2011 20:23:19 +0000
(20:23 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168764
138bc75d
-0d04-0410-961f-
82ee72b054a4
libgo/mksysinfo.sh
patch
|
blob
|
history
diff --git
a/libgo/mksysinfo.sh
b/libgo/mksysinfo.sh
index
f43db61
..
35a461c
100755
(executable)
--- a/
libgo/mksysinfo.sh
+++ b/
libgo/mksysinfo.sh
@@
-207,7
+207,7
@@
fi
# The registers returned by PTRACE_GETREGS. This is probably
# GNU/Linux specific; it should do no harm if there is no
# _user_regs_struct.
-regs=`grep '^type _user_regs_struct struct' gen-sysinfo.go`
+regs=`grep '^type _user_regs_struct struct' gen-sysinfo.go
|| true
`
if test "$regs" != ""; then
regs=`echo $regs | sed -e 's/type _user_regs_struct struct //' -e 's/[{}]//g'`
regs=`echo $regs | sed -e s'/^ *//'`