This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: expr error
- From: Marc Girod <marc dot girod at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 4 Jun 2009 05:47:13 -0700 (PDT)
- Subject: Re: expr error
- References: <gup17t$qp2$1@ger.gmane.org> <4A1024F1.4000102@byu.net> <guq3mh$n5v$1@ger.gmane.org> <4A10A0E2.803@gmail.com> <guqdaj$9fp$1@ger.gmane.org> <4A10BD99.2010805@gmail.com> <guqf07$c7g$1@ger.gmane.org> <4A10D9E8.5040407@gmail.com> <guqnli$r9p$1@ger.gmane.org> <23868090.post@talk.nabble.com>
Marc Girod wrote:
>
> $ nm /usr/bin/expr
> nm: /usr/bin/expr: no symbols
>
This may explain that:
libssh2-1.1> rebase -b 0x70000000 -v /usr/bin/expr
/usr/bin/expr: skipped because not rebaseable
tmp> expr a : '\(a\)'
Segmentation fault (core dumped)
tmp> gdb /usr/bin/expr a : '\(a\)'
Excess command line arguments ignored. (: ...)
GNU gdb 6.8.0.20080328-cvs (cygwin-special)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(no debugging symbols found)
/tmp/a: No such file or directory.
(gdb) bt
No stack.
(gdb) q
Marc
--
View this message in context: http://www.nabble.com/expr-error-tp23583036p23869194.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/