X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 	tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <23869194.post@talk.nabble.com>
Date: Thu, 4 Jun 2009 05:47:13 -0700 (PDT)
From: Marc Girod <marc.girod@gmail.com>
To: cygwin@cygwin.com
Subject: Re: expr error
In-Reply-To: <23868090.post@talk.nabble.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
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>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

