This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: gdbarch.sh.patch
- To: Doug Evans <dje at transmeta dot com>
- Subject: Re: gdbarch.sh.patch
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Tue, 17 Apr 2001 12:48:43 -0400
- Cc: gdb-patches at sources dot redhat dot com
- References: <200104060249.TAA25042@casey.transmeta.com>
Doug Evans wrote:
>
> While running gdbarch.sh I got several errors of the form:
>
> gdbarch.sh: [: -1: unary operator expected
>
> Tracking it down resulted in this patch.
>
> 2001-04-05 Doug Evans <dje@casey.transmeta.com>
>
> * gdbarch.sh (invalid_p handling loop): Properly test for
> non-empty strings.
Doug, this patch applied but with a massive offset :-? A quick look
suggests there are a few more ``test'' cases that should be fixed.
Would you care to do that?
Andrew